[html5] r7504 - [acgiowt] (0) Add <lang> to WebVTT. Fixing https://www.w3.org/Bugs/Public/show_b [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Nov 5 13:03:56 PST 2012
Author: ianh
Date: 2012-11-05 13:03:55 -0800 (Mon, 05 Nov 2012)
New Revision: 7504
Modified:
complete.html
index
source
Log:
[acgiowt] (0) Add <lang> to WebVTT.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15922
Affected topics: HTML, Video Text Tracks
Modified: complete.html
===================================================================
--- complete.html 2012-11-05 20:14:10 UTC (rev 7503)
+++ complete.html 2012-11-05 21:03:55 UTC (rev 7504)
@@ -28240,30 +28240,19 @@
tried, or to show text to the users of these older browsers informing
them of how to access the video contents.</p>
- <p class=note>In particular, this content is not intended to
- address accessibility concerns. To make video content accessible to
- the partially sighted, the blind, the hard-of-hearing, the deaf, and
- those with other physical or cognitive disabilities, a variety of
- features are available. Captions can be provided, either embedded in
- the video stream or as external files using the <code><a href=#the-track-element>track</a></code>
- element. Sign-language tracks can be provided, again either embedded
- in the video stream or by synchronizing multiple <code><a href=#the-video-element>video</a></code>
- elements using the <code title=attr-media-mediagroup><a href=#attr-media-mediagroup>mediagroup</a></code> attribute or a
- <code><a href=#mediacontroller>MediaController</a></code> object. Audio descriptions can be
- provided, either as a separate track embedded in the video stream,
- or a separate audio track in an <code><a href=#the-audio-element>audio</a></code> element <a href=#slaved-media-elements title="slaved media elements">slaved</a> to the same controller
- as the <code><a href=#the-video-element>video</a></code> element(s), or in text form using a
- <a href=#webvtt-file>WebVTT file</a>
-<!--FORK-->
- referenced using the <code><a href=#the-track-element>track</a></code> element and synthesized into
- speech by the user agent. WebVTT can also be used to provide chapter
- titles. For users who would rather not use a media element at all,
- transcripts or other textual alternatives can be provided by simply
- linking to them in the prose near the <code><a href=#the-video-element>video</a></code> element.
-<!--FORK-->
- <a href=#refsWEBVTT>[WEBVTT]</a>
-<!--FORK-->
- </p>
+ <p class=note>In particular, this content is not intended to address accessibility concerns. To
+ make video content accessible to the partially sighted, the blind, the hard-of-hearing, the deaf,
+ and those with other physical or cognitive disabilities, a variety of features are available.
+ Captions can be provided, either embedded in the video stream or as external files using the
+ <code><a href=#the-track-element>track</a></code> element. Sign-language tracks can be provided, again either embedded in the
+ video stream or by synchronizing multiple <code><a href=#the-video-element>video</a></code> elements using the <code title=attr-media-mediagroup><a href=#attr-media-mediagroup>mediagroup</a></code> attribute or a <code><a href=#mediacontroller>MediaController</a></code>
+ object. Audio descriptions can be provided, either as a separate track embedded in the video
+ stream, or a separate audio track in an <code><a href=#the-audio-element>audio</a></code> element <a href=#slaved-media-elements title="slaved media
+ elements">slaved</a> to the same controller as the <code><a href=#the-video-element>video</a></code> element(s), or in text
+ form using a <a href=#webvtt-file>WebVTT file</a> referenced using the <code><a href=#the-track-element>track</a></code> element and
+ synthesized into speech by the user agent. WebVTT can also be used to provide chapter titles. For
+ users who would rather not use a media element at all, transcripts or other textual alternatives
+ can be provided by simply linking to them in the prose near the <code><a href=#the-video-element>video</a></code> element. <a href=#refsWEBVTT>[WEBVTT]</a></p>
<p>The <code><a href=#the-video-element>video</a></code> element is a <a href=#media-element>media element</a>
whose <a href=#media-data>media data</a> is ostensibly video data, possibly
@@ -28607,24 +28596,14 @@
tried, or to show text to the users of these older browsers informing
them of how to access the audio contents.</p>
- <p class=note>In particular, this content is not intended to
- address accessibility concerns. To make audio content accessible to
- the deaf or to those with other physical or cognitive disabilities,
- a variety of features are available. If captions or a sign language
- video are available, the <code><a href=#the-video-element>video</a></code> element can be used
- instead of the <code><a href=#the-audio-element>audio</a></code> element to play the audio,
- allowing users to enable the visual alternatives. Chapter titles can
- be provided to aid navigation, using the <code><a href=#the-track-element>track</a></code> element
- and a
- <a href=#webvtt-file>WebVTT file</a>.
-<!--FORK-->
- And, naturally, transcripts or other textual alternatives can be
- provided by simply linking to them in the prose near the
- <code><a href=#the-audio-element>audio</a></code> element.
-<!--FORK-->
- <a href=#refsWEBVTT>[WEBVTT]</a>
-<!--FORK-->
- </p>
+ <p class=note>In particular, this content is not intended to address accessibility concerns. To
+ make audio content accessible to the deaf or to those with other physical or cognitive
+ disabilities, a variety of features are available. If captions or a sign language video are
+ available, the <code><a href=#the-video-element>video</a></code> element can be used instead of the <code><a href=#the-audio-element>audio</a></code> element to
+ play the audio, allowing users to enable the visual alternatives. Chapter titles can be provided
+ to aid navigation, using the <code><a href=#the-track-element>track</a></code> element and a <a href=#webvtt-file>WebVTT file</a>. And,
+ naturally, transcripts or other textual alternatives can be provided by simply linking to them in
+ the prose near the <code><a href=#the-audio-element>audio</a></code> element. <a href=#refsWEBVTT>[WEBVTT]</a></p>
<p>The <code><a href=#the-audio-element>audio</a></code> element is a <a href=#media-element>media element</a>
whose <a href=#media-data>media data</a> is ostensibly audio data.</p>
Modified: index
===================================================================
--- index 2012-11-05 20:14:10 UTC (rev 7503)
+++ index 2012-11-05 21:03:55 UTC (rev 7504)
@@ -28240,30 +28240,19 @@
tried, or to show text to the users of these older browsers informing
them of how to access the video contents.</p>
- <p class=note>In particular, this content is not intended to
- address accessibility concerns. To make video content accessible to
- the partially sighted, the blind, the hard-of-hearing, the deaf, and
- those with other physical or cognitive disabilities, a variety of
- features are available. Captions can be provided, either embedded in
- the video stream or as external files using the <code><a href=#the-track-element>track</a></code>
- element. Sign-language tracks can be provided, again either embedded
- in the video stream or by synchronizing multiple <code><a href=#the-video-element>video</a></code>
- elements using the <code title=attr-media-mediagroup><a href=#attr-media-mediagroup>mediagroup</a></code> attribute or a
- <code><a href=#mediacontroller>MediaController</a></code> object. Audio descriptions can be
- provided, either as a separate track embedded in the video stream,
- or a separate audio track in an <code><a href=#the-audio-element>audio</a></code> element <a href=#slaved-media-elements title="slaved media elements">slaved</a> to the same controller
- as the <code><a href=#the-video-element>video</a></code> element(s), or in text form using a
- <a href=#webvtt-file>WebVTT file</a>
-<!--FORK-->
- referenced using the <code><a href=#the-track-element>track</a></code> element and synthesized into
- speech by the user agent. WebVTT can also be used to provide chapter
- titles. For users who would rather not use a media element at all,
- transcripts or other textual alternatives can be provided by simply
- linking to them in the prose near the <code><a href=#the-video-element>video</a></code> element.
-<!--FORK-->
- <a href=#refsWEBVTT>[WEBVTT]</a>
-<!--FORK-->
- </p>
+ <p class=note>In particular, this content is not intended to address accessibility concerns. To
+ make video content accessible to the partially sighted, the blind, the hard-of-hearing, the deaf,
+ and those with other physical or cognitive disabilities, a variety of features are available.
+ Captions can be provided, either embedded in the video stream or as external files using the
+ <code><a href=#the-track-element>track</a></code> element. Sign-language tracks can be provided, again either embedded in the
+ video stream or by synchronizing multiple <code><a href=#the-video-element>video</a></code> elements using the <code title=attr-media-mediagroup><a href=#attr-media-mediagroup>mediagroup</a></code> attribute or a <code><a href=#mediacontroller>MediaController</a></code>
+ object. Audio descriptions can be provided, either as a separate track embedded in the video
+ stream, or a separate audio track in an <code><a href=#the-audio-element>audio</a></code> element <a href=#slaved-media-elements title="slaved media
+ elements">slaved</a> to the same controller as the <code><a href=#the-video-element>video</a></code> element(s), or in text
+ form using a <a href=#webvtt-file>WebVTT file</a> referenced using the <code><a href=#the-track-element>track</a></code> element and
+ synthesized into speech by the user agent. WebVTT can also be used to provide chapter titles. For
+ users who would rather not use a media element at all, transcripts or other textual alternatives
+ can be provided by simply linking to them in the prose near the <code><a href=#the-video-element>video</a></code> element. <a href=#refsWEBVTT>[WEBVTT]</a></p>
<p>The <code><a href=#the-video-element>video</a></code> element is a <a href=#media-element>media element</a>
whose <a href=#media-data>media data</a> is ostensibly video data, possibly
@@ -28607,24 +28596,14 @@
tried, or to show text to the users of these older browsers informing
them of how to access the audio contents.</p>
- <p class=note>In particular, this content is not intended to
- address accessibility concerns. To make audio content accessible to
- the deaf or to those with other physical or cognitive disabilities,
- a variety of features are available. If captions or a sign language
- video are available, the <code><a href=#the-video-element>video</a></code> element can be used
- instead of the <code><a href=#the-audio-element>audio</a></code> element to play the audio,
- allowing users to enable the visual alternatives. Chapter titles can
- be provided to aid navigation, using the <code><a href=#the-track-element>track</a></code> element
- and a
- <a href=#webvtt-file>WebVTT file</a>.
-<!--FORK-->
- And, naturally, transcripts or other textual alternatives can be
- provided by simply linking to them in the prose near the
- <code><a href=#the-audio-element>audio</a></code> element.
-<!--FORK-->
- <a href=#refsWEBVTT>[WEBVTT]</a>
-<!--FORK-->
- </p>
+ <p class=note>In particular, this content is not intended to address accessibility concerns. To
+ make audio content accessible to the deaf or to those with other physical or cognitive
+ disabilities, a variety of features are available. If captions or a sign language video are
+ available, the <code><a href=#the-video-element>video</a></code> element can be used instead of the <code><a href=#the-audio-element>audio</a></code> element to
+ play the audio, allowing users to enable the visual alternatives. Chapter titles can be provided
+ to aid navigation, using the <code><a href=#the-track-element>track</a></code> element and a <a href=#webvtt-file>WebVTT file</a>. And,
+ naturally, transcripts or other textual alternatives can be provided by simply linking to them in
+ the prose near the <code><a href=#the-audio-element>audio</a></code> element. <a href=#refsWEBVTT>[WEBVTT]</a></p>
<p>The <code><a href=#the-audio-element>audio</a></code> element is a <a href=#media-element>media element</a>
whose <a href=#media-data>media data</a> is ostensibly audio data.</p>
Modified: source
===================================================================
--- source 2012-11-05 20:14:10 UTC (rev 7503)
+++ source 2012-11-05 21:03:55 UTC (rev 7504)
@@ -30510,35 +30510,21 @@
tried, or to show text to the users of these older browsers informing
them of how to access the video contents.</p>
- <p class="note">In particular, this content is not intended to
- address accessibility concerns. To make video content accessible to
- the partially sighted, the blind, the hard-of-hearing, the deaf, and
- those with other physical or cognitive disabilities, a variety of
- features are available. Captions can be provided, either embedded in
- the video stream or as external files using the <code>track</code>
- element. Sign-language tracks can be provided, again either embedded
- in the video stream or by synchronizing multiple <code>video</code>
- elements using the <code
- title="attr-media-mediagroup">mediagroup</code> attribute or a
- <code>MediaController</code> object. Audio descriptions can be
- provided, either as a separate track embedded in the video stream,
- or a separate audio track in an <code>audio</code> element <span
- title="slaved media elements">slaved</span> to the same controller
- as the <code>video</code> element(s), or in text form using a
-<!--END dev-html--><!--END complete--><!--FORK-->
- caption file
-<!--START dev-html--><!--START complete--><!--END w3c-html--><!--FORK-->
- <span>WebVTT file</span>
-<!--START w3c-html--><!--FORK-->
- referenced using the <code>track</code> element and synthesized into
- speech by the user agent. WebVTT can also be used to provide chapter
- titles. For users who would rather not use a media element at all,
- transcripts or other textual alternatives can be provided by simply
- linking to them in the prose near the <code>video</code> element.
-<!--END w3c-html--><!--FORK-->
- <a href="#refsWEBVTT">[WEBVTT]</a>
-<!--START w3c-html--><!--FORK-->
- </p>
+ <p class="note">In particular, this content is not intended to address accessibility concerns. To
+ make video content accessible to the partially sighted, the blind, the hard-of-hearing, the deaf,
+ and those with other physical or cognitive disabilities, a variety of features are available.
+ Captions can be provided, either embedded in the video stream or as external files using the
+ <code>track</code> element. Sign-language tracks can be provided, again either embedded in the
+ video stream or by synchronizing multiple <code>video</code> elements using the <code
+ title="attr-media-mediagroup">mediagroup</code> attribute or a <code>MediaController</code>
+ object. Audio descriptions can be provided, either as a separate track embedded in the video
+ stream, or a separate audio track in an <code>audio</code> element <span title="slaved media
+ elements">slaved</span> to the same controller as the <code>video</code> element(s), or in text
+ form using a <span>WebVTT file</span> referenced using the <code>track</code> element and
+ synthesized into speech by the user agent. WebVTT can also be used to provide chapter titles. For
+ users who would rather not use a media element at all, transcripts or other textual alternatives
+ can be provided by simply linking to them in the prose near the <code>video</code> element. <a
+ href="#refsWEBVTT">[WEBVTT]</a></p>
<p>The <code>video</code> element is a <span>media element</span>
whose <span>media data</span> is ostensibly video data, possibly
@@ -30925,27 +30911,14 @@
tried, or to show text to the users of these older browsers informing
them of how to access the audio contents.</p>
- <p class="note">In particular, this content is not intended to
- address accessibility concerns. To make audio content accessible to
- the deaf or to those with other physical or cognitive disabilities,
- a variety of features are available. If captions or a sign language
- video are available, the <code>video</code> element can be used
- instead of the <code>audio</code> element to play the audio,
- allowing users to enable the visual alternatives. Chapter titles can
- be provided to aid navigation, using the <code>track</code> element
- and a
-<!--END dev-html--><!--END complete--><!--FORK-->
- caption file.
-<!--START dev-html--><!--START complete--><!--END w3c-html--><!--FORK-->
- <span>WebVTT file</span>.
-<!--START w3c-html--><!--FORK-->
- And, naturally, transcripts or other textual alternatives can be
- provided by simply linking to them in the prose near the
- <code>audio</code> element.
-<!--END w3c-html--><!--FORK-->
- <a href="#refsWEBVTT">[WEBVTT]</a>
-<!--START w3c-html--><!--FORK-->
- </p>
+ <p class="note">In particular, this content is not intended to address accessibility concerns. To
+ make audio content accessible to the deaf or to those with other physical or cognitive
+ disabilities, a variety of features are available. If captions or a sign language video are
+ available, the <code>video</code> element can be used instead of the <code>audio</code> element to
+ play the audio, allowing users to enable the visual alternatives. Chapter titles can be provided
+ to aid navigation, using the <code>track</code> element and a <span>WebVTT file</span>. And,
+ naturally, transcripts or other textual alternatives can be provided by simply linking to them in
+ the prose near the <code>audio</code> element. <a href="#refsWEBVTT">[WEBVTT]</a></p>
<p>The <code>audio</code> element is a <span>media element</span>
whose <span>media data</span> is ostensibly audio data.</p>
@@ -39726,6 +39699,7 @@
<li>A <span>WebVTT cue underline span</span>.</li>
<li>A <span>WebVTT cue ruby span</span>.</li>
<li>A <span>WebVTT cue voice span</span>.</li>
+ <li>A <span>WebVTT cue language span</span>.</li>
<li>A <span>WebVTT cue timestamp</span>.</li>
@@ -39800,7 +39774,16 @@
<li>A <span>WebVTT cue span end tag</span> "<code title="">v</code>". If this <span>WebVTT cue voice span</span> is the only <span title="WebVTT cue components">component</span> of its <span>WebVTT cue text</span> sequence, then the end tag may be omitted for brevity.</li>
</ol>
+ <p>A <dfn>WebVTT cue language span</dfn> consists of the following
+ components, in the order given:</p>
+ <ol>
+ <li>A <span>WebVTT cue span start tag</span> "<code title="">lang</code>" that requires an annotation; the annotation represents the language of the following component, and must be a valid BCP 47 language tag. <a href="#refsBCP47">[BCP47]</a></li>
+ <li><span>WebVTT cue internal text</span>.</li>
+ <li>A <span>WebVTT cue span end tag</span> "<code title="">lang</code>".</li>
+ </ol>
+
+
<p>A <dfn>WebVTT cue span start tag</dfn> has a <var title="">tag
name</var> and either <!--allows,--> requires<!--,--> or disallows
an annotation, and consists of the following components, in the
@@ -40669,19 +40652,17 @@
Node Object">WebVTT Internal Node Objects</span> and <span
title="WebVTT Leaf Node Object">WebVTT Leaf Node Objects</span>.</p>
- <p><dfn title="WebVTT Internal Node Object">WebVTT Internal Node
- Objects</dfn> are those that can contain further <span title="WebVTT
- Node Object">WebVTT Node Objects</span>. They are conceptually
- similar to elements in HTML or the DOM. <span title="WebVTT Internal
- Node Object">WebVTT Internal Node Objects</span> have an ordered
- list of child <span title="WebVTT Node Object">WebVTT Node
- Objects</span>. The <span>WebVTT Internal Node Object</span> is said
- to be the <i>parent</i> of the children. Cycles do not occur; the
- parent-child relationships so constructed form a tree structure.
- <span title="WebVTT Internal Node Object">WebVTT Internal Node
- Objects</span> also have an ordered list of class names, know as
- their <dfn title="WebVTT Node Object's applicable
- classes">applicable classes</dfn>.</p>
+ <p><dfn title="WebVTT Internal Node Object">WebVTT Internal Node Objects</dfn> are those that can
+ contain further <span title="WebVTT Node Object">WebVTT Node Objects</span>. They are conceptually
+ similar to elements in HTML or the DOM. <span title="WebVTT Internal Node Object">WebVTT Internal
+ Node Objects</span> have an ordered list of child <span title="WebVTT Node Object">WebVTT Node
+ Objects</span>. The <span>WebVTT Internal Node Object</span> is said to be the <i>parent</i> of
+ the children. Cycles do not occur; the parent-child relationships so constructed form a tree
+ structure. <span title="WebVTT Internal Node Object">WebVTT Internal Node Objects</span> also have
+ an ordered list of class names, known as their <dfn title="WebVTT Node Object's applicable
+ classes">applicable classes</dfn>, and a language, known as their <dfn title="WebVTT Node Object's
+ applicable language">applicable language</dfn>, which is to be interpreted as a BCP 47 language
+ code. <a href="#refsBCP47">[BCP47]</a></p>
<p>There are several concrete classes of <span title="WebVTT
Internal Node Object">WebVTT Internal Node Objects</span>:</p>
@@ -40741,6 +40722,14 @@
is the name of the voice.</p>
</dd>
+ <dt><dfn title="WebVTT Language Object">WebVTT Language Objects</dfn></dt>
+ <dd>
+ <p>These represent spans of text (a <span>WebVTT cue language span</span>) in <span>WebVTT cue
+ text</span>, and are used to annotate parts of the cue where the <span title="WebVTT Node
+ Object's applicable language">applicable language</span> might be different than the surrounding
+ text's, without implying further meaning (such as italics or bold).</p>
+ </dd>
+
</dl>
<p><dfn title="WebVTT Leaf Node Object">WebVTT Leaf Node
@@ -40788,6 +40777,9 @@
<li><p>Let <var title="">current</var> be the <span>WebVTT Internal
Node Object</span> <var title="">result</var>.</p></li>
+ <li><p>Let <var title="">language stack</var> be a stack of language codes, initially
+ empty.</p></li>
+
<li><p><i>Loop</i>: If <var title="">position</var> is past the end
of <var title="">input</var>, return <var title="">result</var> and
abort these steps.</p></li>
@@ -40877,6 +40869,13 @@
string if there is no annotation string.</p>
</dd>
+ <dt>If the tag name is "<code title="">lang</code>"</dt>
+ <dd>
+ <p>Push the value of the token's annotation string, or the empty string if there is no
+ annotation string, onto the <var title="">language stack</var>; then <span title="attach a
+ WebVTT Internal Node Object">attach</span> a <span>WebVTT Language Object</span>.</p>
+ </dd>
+
<dt>Otherwise</dt>
<dd>
<p>Ignore the token.</p>
@@ -40898,6 +40897,10 @@
list of classes in the token, excluding any classes that are
the empty string.</p>
+ <li><p>Set the new object's <span title="WebVTT Node Object's applicable language">applicable
+ language</span> to the top entry on the <var title="">language stack</var>, if the stack is
+ not empty.</p>
+
<li><p>Append the newly created node object to <var
title="">current</var>.</p></li>
@@ -40947,6 +40950,11 @@
</ul>
+ <p>Otherwise, if the tag name of the end tag token <var title="">token</var> is "<code
+ title="">lang</code>" and <var title="">current</var> is a <span>WebVTT Language
+ Object</span>, then let <var title="">current</var> be the parent node of <var
+ title="">current</var>, and pop the top value from the <var title="">language stack</var>.</p>
+
<p>Otherwise, if the tag name of the end tag token <var
title="">token</var> is "<code title="">ruby</code>" and <var
title="">current</var> is a <span>WebVTT Ruby Text
@@ -41506,8 +41514,11 @@
<td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>rt</code>".
<tr>
<td><span>WebVTT Voice Object</span>
- <td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>span</code>", a <code title="attr-title">title</code> attribute set to the <span>WebVTT Voice Object</span>'s value.
+ <td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>span</code>", and a <code title="attr-title">title</code> attribute set to the <span>WebVTT Voice Object</span>'s value.
<tr>
+ <td><span>WebVTT Class Object</span>
+ <td><code>HTMLElement</code> element node with <code title="dom-Node-localName">localName</code> "<code>span</code>", and a <code title="attr-lang">lang</code> attribute set to the <span>WebVTT Language Object</span>'s <span title="WebVTT Node Object's applicable language">applicable language</span>.
+ <tr>
<td><span>WebVTT Text Object</span>
<td><code>Text</code> node whose character data is the value of the <span>WebVTT Text Object</span>.
<tr>
@@ -41515,14 +41526,12 @@
<td><code>ProcessingInstruction</code> node whose <code title="dom-ProcessingInstruction-target">target</code> is "<code title="">timestamp</code>" and whose <code title="dom-ProcessingInstruction-data">data</code> is a <span>WebVTT timestamp</span> representing the value of the <span>WebVTT Timestamp Object</span>, with all optional components included, with one leading zero if the <var title="">hours</var> component is less than ten, and with no leading zeros otherwise.
</table>
- <p><code>HTMLElement</code> nodes created as part of the mapping
- described above must have their <code
- title="dom-Node-namespaceURI">namespaceURI</code> set to the
- <span>HTML namespace</span>, and, if any classes apply to the
- corresponding <span>WebVTT Internal Node Object</span>, must have a
- <code title="attr-class">class</code> attribute set to the string
- obtained by concatenating all those classes, each separated from the
- next by a single U+0020 SPACE character.</p>
+ <p><code>HTMLElement</code> nodes created as part of the mapping described above must have their
+ <code title="dom-Node-namespaceURI">namespaceURI</code> set to the <span>HTML namespace</span>,
+ and, if the corresponding <span>WebVTT Internal Node Object</span> has any <span title="WebVTT
+ Node Object's applicable classes">applicable classes</span>, must have a <code
+ title="attr-class">class</code> attribute set to the string obtained by concatenating all those
+ classes, each separated from the next by a single U+0020 SPACE character.</p>
<p>The <code title="dom-Node-ownerDocument">ownerDocument</code>
attribute of all nodes in the DOM tree must be set to the given
@@ -41537,7 +41546,7 @@
<!--FIXUP dev-html -3-->
<!--END webvtt-->
</div>
-<!--START w3c-html--><!--START complete-->
+<!--START complete-->
<!--TOPIC:Video and Audio-->
<h5>User interface</h5>
@@ -115136,6 +115145,10 @@
<td><code title="">v</code>
<tr>
+ <td><span title="WebVTT Language Object">WebVTT Language Objects</span>
+ <td><code title="">lang</code>
+
+ <tr>
<td>Other elements (specifically, <span title="List of WebVTT Node Objects">Lists of WebVTT Node Objects</span>)
<td>No explicit name.
@@ -115148,13 +115161,13 @@
Objects</span> are considered as being in the namespace expressed
as the empty string.</p></li>
- <li><p>For the purposes of attribute selector matching, <span
- title="WebVTT Internal Node Object">WebVTT Internal Node
- Objects</span> have no attributes, except for <span
- title="WebVTT Voice Object">WebVTT Voice Objects</span>, which
- have a single attribute named "<code title="">voice</code>"
- whose value is the value of the <span>WebVTT Voice
- Object</span>.</p></li>
+ <li><p>For the purposes of attribute selector matching, <span title="WebVTT Internal Node
+ Object">WebVTT Internal Node Objects</span> have no attributes, except for <span title="WebVTT
+ Voice Object">WebVTT Voice Objects</span>, which have a single attribute named "<code
+ title="">voice</code>" whose value is the value of the <span>WebVTT Voice Object</span>, and
+ <span title="WebVTT Language Object">WebVTT Language Objects</span>, which have a single
+ attribute named "<code title="">lang</code>" whose value is the object's <span title="WebVTT Node
+ Object's applicable language">applicable language</span.</p></li>
<li><p>For the purposes of class selector matching, <span
title="WebVTT Internal Node Object">WebVTT Internal Node
@@ -115163,6 +115176,10 @@
isn't especially well-defined, but the Selectors spec doesn't
really give one much to go on here. -->
+ <li><p>For the purposes of the <code title="selector-lang">:lang()</code> pseudo-class, <span
+ title="WebVTT Internal Node Object">WebVTT Internal Node Objects</span> have the language
+ described as the <span>WebVTT Node Object's applicable language</span>.</p></li>
+
<li><p>For the purposes of ID selector matching, <span title="List
of WebVTT Node Objects">Lists of WebVTT Node Objects</span> have
the ID given by the cue's <span>text track cue identifier</span>,
More information about the Commit-Watchers
mailing list