Optional ReadonlyalignText alignment within the cue box.
Optional ReadonlylineLine (vertical) position, as a line number/percentage or 'auto'.
Optional ReadonlylineHow line is anchored.
Optional ReadonlypositionInline position of the cue box, as a percentage or 'auto'.
Optional ReadonlypositionHow position is anchored.
Optional ReadonlysizeSize of the cue box as a percentage of the video dimension.
Optional ReadonlysnapWhether line is a line number (true) or a percentage (false).
Optional ReadonlyverticalWriting direction.
Layout style applied to each rendered WebVTT cue, mirroring the settable positioning properties of the DOM
VTTCue. Only the properties that are set are applied; the rest keep the browser defaults.These are the WebVTT cue-box layout controls (not text color/font, which are only reachable via the non-configurable
::cuepseudo-element). See https://developer.mozilla.org/docs/Web/API/VTTCue.