[html5] r5548 - [e] (0) explain <track label> more. Fixing http://www.w3.org/Bugs/Public/show_bu [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Sep 28 23:51:34 PDT 2010
Author: ianh
Date: 2010-09-28 23:51:32 -0700 (Tue, 28 Sep 2010)
New Revision: 5548
Modified:
complete.html
index
source
Log:
[e] (0) explain <track label> more.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10707
Modified: complete.html
===================================================================
--- complete.html 2010-09-29 06:10:31 UTC (rev 5547)
+++ complete.html 2010-09-29 06:51:32 UTC (rev 5548)
@@ -24485,7 +24485,9 @@
</div>
<p>The <dfn id=attr-track-label title=attr-track-label><code>label</code></dfn>
- attribute gives a user-readable title for the track.</p>
+ attribute gives a user-readable title for the track. This title is
+ used by user agents when listing <a href=#attr-track-kind-subtitles title=attr-track-kind-subtitles>subtitle</a>, <a href=#attr-track-kind-captions title=attr-track-kind-captions>caption</a>, and <a href=#attr-track-kind-descriptions title=attr-track-kind-descriptions>audio description</a> tracks
+ in their user interface.</p>
<p>The value of the <code title=attr-track-label><a href=#attr-track-label>label</a></code>
attribute, if the attribute is present, must not be the empty
@@ -24530,6 +24532,19 @@
</div>
+ <div class=example>
+
+ <p>This video has subtitles in several languages:</p>
+
+ <pre><video src="brave.webm">
+ <track kind=subtitles src=brave.en.srt srclang=en label="English">
+ <track kind=captions src=brave.en.srt srclang=en label="English for the Hard of Hearing">
+ <track kind=subtitles src=brave.fr.srt srclang=fr label="Français">
+ <track kind=subtitles src=brave.de.srt srclang=de label="Deutsch">
+</video></pre>
+
+ </div>
+
</div>
<!--TT-->
Modified: index
===================================================================
--- index 2010-09-29 06:10:31 UTC (rev 5547)
+++ index 2010-09-29 06:51:32 UTC (rev 5548)
@@ -24465,7 +24465,9 @@
</div>
<p>The <dfn id=attr-track-label title=attr-track-label><code>label</code></dfn>
- attribute gives a user-readable title for the track.</p>
+ attribute gives a user-readable title for the track. This title is
+ used by user agents when listing <a href=#attr-track-kind-subtitles title=attr-track-kind-subtitles>subtitle</a>, <a href=#attr-track-kind-captions title=attr-track-kind-captions>caption</a>, and <a href=#attr-track-kind-descriptions title=attr-track-kind-descriptions>audio description</a> tracks
+ in their user interface.</p>
<p>The value of the <code title=attr-track-label><a href=#attr-track-label>label</a></code>
attribute, if the attribute is present, must not be the empty
@@ -24510,6 +24512,19 @@
</div>
+ <div class=example>
+
+ <p>This video has subtitles in several languages:</p>
+
+ <pre><video src="brave.webm">
+ <track kind=subtitles src=brave.en.srt srclang=en label="English">
+ <track kind=captions src=brave.en.srt srclang=en label="English for the Hard of Hearing">
+ <track kind=subtitles src=brave.fr.srt srclang=fr label="Français">
+ <track kind=subtitles src=brave.de.srt srclang=de label="Deutsch">
+</video></pre>
+
+ </div>
+
</div>
<!--TT-->
Modified: source
===================================================================
--- source 2010-09-29 06:10:31 UTC (rev 5547)
+++ source 2010-09-29 06:51:32 UTC (rev 5548)
@@ -26318,7 +26318,12 @@
</div>
<p>The <dfn title="attr-track-label"><code>label</code></dfn>
- attribute gives a user-readable title for the track.</p>
+ attribute gives a user-readable title for the track. This title is
+ used by user agents when listing <span
+ title="attr-track-kind-subtitles">subtitle</span>, <span
+ title="attr-track-kind-captions">caption</span>, and <span
+ title="attr-track-kind-descriptions">audio description</span> tracks
+ in their user interface.</p>
<p>The value of the <code title="attr-track-label">label</code>
attribute, if the attribute is present, must not be the empty
@@ -26371,6 +26376,19 @@
</div>
+ <div class="example">
+
+ <p>This video has subtitles in several languages:</p>
+
+ <pre><video src="brave.webm">
+ <track kind=subtitles src=brave.en.srt srclang=en label="English">
+ <track kind=captions src=brave.en.srt srclang=en label="English for the Hard of Hearing">
+ <track kind=subtitles src=brave.fr.srt srclang=fr label="Français">
+ <track kind=subtitles src=brave.de.srt srclang=de label="Deutsch">
+</video></pre>
+
+ </div>
+
</div>
<!--START w3c-html--><!--TT-->
More information about the Commit-Watchers
mailing list