Accessibility/Video Text Format: Difference between revisions

added a t element
(added a caption and karaoke example)
(added a t element)
Line 131: Line 131:
</pre>
</pre>


==== the <t> element ====
* a flow content element that is used inside the <cue> element for further specification of starting times of smaller elements
* by default, the content inside the <t> element inherits its style from the parent <cue> element; its own styling is only activated when its time stamp is reached
* it has the following attributes:
** at: a time stamp specifying at what time the style for the element becomes active
** style: the styles to be activated
DOM interface:
<pre>
interface TimedTrackOffset {
  readonly attribute float at;
};
</pre>


=== Matching WMML elements using selectors ===
=== Matching WMML elements using selectors ===