[html5] r7338 - [giow] (0) Fix the handling of default='' in automatic text track selection Affe [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Sep 12 00:17:04 PDT 2012
Author: ianh
Date: 2012-09-12 00:17:02 -0700 (Wed, 12 Sep 2012)
New Revision: 7338
Modified:
complete.html
index
source
Log:
[giow] (0) Fix the handling of default='' in automatic text track selection
Affected topics: Video Text Tracks
Modified: complete.html
===================================================================
--- complete.html 2012-09-12 00:33:53 UTC (rev 7337)
+++ complete.html 2012-09-12 07:17:02 UTC (rev 7338)
@@ -34343,8 +34343,17 @@
<var title="">candidates</var> enabled based on its <a href=#text-track-kind>text
track kind</a>, <a href=#text-track-language>text track language</a>, and
<a href=#text-track-label>text track label</a>, then set its <a href=#text-track-mode>text track
- mode</a> to <a href=#text-track-showing title="text track
- showing">showing</a>.</p>
+ mode</a> to <a href=#text-track-showing title="text track showing">showing</a>,
+ and if there are any <a href=#text-track title="text track">text tracks</a>
+ in <var title="">candidates</var> that correspond to
+ <code><a href=#the-track-element>track</a></code> elements with a <code title=attr-track-default><a href=#attr-track-default>default</a></code> attribute set whose
+ <a href=#text-track-mode>text track mode</a> is set to <a href=#text-track-disabled title="text track
+ disabled">disabled</a>, then additionally set the <a href=#text-track-mode>text
+ track mode</a> of each such track to <a href=#text-track-hidden title="text track
+ hidden">hidden</a>.</p> <!-- so that we still get events and
+ stuff: we can expect authors to forget that default doesn't mean
+ that it'll always be turned on, and that they'll still rely on
+ events firing even if it doesn't show -->
<p class=note>For example, the user could have set a browser
preference to the effect of "I want French captions whenever
@@ -34353,19 +34362,16 @@
available, enable one, ideally in Swiss German, but failing that
in Standard Swiss German or Standard German".</p>
+ <p>Otherwise, if there are any <a href=#text-track title="text track">text
+ tracks</a> in <var title="">candidates</var> that correspond to
+ <code><a href=#the-track-element>track</a></code> elements with a <code title=attr-track-default><a href=#attr-track-default>default</a></code> attribute set whose
+ <a href=#text-track-mode>text track mode</a> is set to <a href=#text-track-disabled title="text track
+ disabled">disabled</a>, then set the <a href=#text-track-mode>text track
+ mode</a> of each such track to <a href=#text-track-showing title="text track
+ showing">showing</a>.</p>
+
</li>
- <li><p>If there are any <a href=#text-track title="text track">text tracks</a>
- in <var title="">candidates</var> that correspond to
- <code><a href=#the-track-element>track</a></code> elements with a <code title=attr-track-default><a href=#attr-track-default>default</a></code> attribute set whose
- <a href=#text-track-mode>text track mode</a> is set to <a href=#text-track-disabled title="text track
- disabled">disabled</a>, then set the <a href=#text-track-mode>text track
- mode</a> of each such track to <a href=#text-track-hidden title="text track
- hidden">hidden</a>.</p> <!-- so that we still get events and
- stuff: we can expect authors to forget that default doesn't mean
- that it'll always be turned on, and that they'll still rely on
- events firing even if it doesn't show -->
-
</ol><p>When a <a href=#text-track>text track</a> corresponding to a
<code><a href=#the-track-element>track</a></code> element experiences any of the following
circumstances, the user agent must <a href=#start-the-track-processing-model>start the
Modified: index
===================================================================
--- index 2012-09-12 00:33:53 UTC (rev 7337)
+++ index 2012-09-12 07:17:02 UTC (rev 7338)
@@ -34343,8 +34343,17 @@
<var title="">candidates</var> enabled based on its <a href=#text-track-kind>text
track kind</a>, <a href=#text-track-language>text track language</a>, and
<a href=#text-track-label>text track label</a>, then set its <a href=#text-track-mode>text track
- mode</a> to <a href=#text-track-showing title="text track
- showing">showing</a>.</p>
+ mode</a> to <a href=#text-track-showing title="text track showing">showing</a>,
+ and if there are any <a href=#text-track title="text track">text tracks</a>
+ in <var title="">candidates</var> that correspond to
+ <code><a href=#the-track-element>track</a></code> elements with a <code title=attr-track-default><a href=#attr-track-default>default</a></code> attribute set whose
+ <a href=#text-track-mode>text track mode</a> is set to <a href=#text-track-disabled title="text track
+ disabled">disabled</a>, then additionally set the <a href=#text-track-mode>text
+ track mode</a> of each such track to <a href=#text-track-hidden title="text track
+ hidden">hidden</a>.</p> <!-- so that we still get events and
+ stuff: we can expect authors to forget that default doesn't mean
+ that it'll always be turned on, and that they'll still rely on
+ events firing even if it doesn't show -->
<p class=note>For example, the user could have set a browser
preference to the effect of "I want French captions whenever
@@ -34353,19 +34362,16 @@
available, enable one, ideally in Swiss German, but failing that
in Standard Swiss German or Standard German".</p>
+ <p>Otherwise, if there are any <a href=#text-track title="text track">text
+ tracks</a> in <var title="">candidates</var> that correspond to
+ <code><a href=#the-track-element>track</a></code> elements with a <code title=attr-track-default><a href=#attr-track-default>default</a></code> attribute set whose
+ <a href=#text-track-mode>text track mode</a> is set to <a href=#text-track-disabled title="text track
+ disabled">disabled</a>, then set the <a href=#text-track-mode>text track
+ mode</a> of each such track to <a href=#text-track-showing title="text track
+ showing">showing</a>.</p>
+
</li>
- <li><p>If there are any <a href=#text-track title="text track">text tracks</a>
- in <var title="">candidates</var> that correspond to
- <code><a href=#the-track-element>track</a></code> elements with a <code title=attr-track-default><a href=#attr-track-default>default</a></code> attribute set whose
- <a href=#text-track-mode>text track mode</a> is set to <a href=#text-track-disabled title="text track
- disabled">disabled</a>, then set the <a href=#text-track-mode>text track
- mode</a> of each such track to <a href=#text-track-hidden title="text track
- hidden">hidden</a>.</p> <!-- so that we still get events and
- stuff: we can expect authors to forget that default doesn't mean
- that it'll always be turned on, and that they'll still rely on
- events firing even if it doesn't show -->
-
</ol><p>When a <a href=#text-track>text track</a> corresponding to a
<code><a href=#the-track-element>track</a></code> element experiences any of the following
circumstances, the user agent must <a href=#start-the-track-processing-model>start the
Modified: source
===================================================================
--- source 2012-09-12 00:33:53 UTC (rev 7337)
+++ source 2012-09-12 07:17:02 UTC (rev 7338)
@@ -37632,8 +37632,18 @@
<var title="">candidates</var> enabled based on its <span>text
track kind</span>, <span>text track language</span>, and
<span>text track label</span>, then set its <span>text track
- mode</span> to <span title="text track
- showing">showing</span>.</p>
+ mode</span> to <span title="text track showing">showing</span>,
+ and if there are any <span title="text track">text tracks</span>
+ in <var title="">candidates</var> that correspond to
+ <code>track</code> elements with a <code
+ title="attr-track-default">default</code> attribute set whose
+ <span>text track mode</span> is set to <span title="text track
+ disabled">disabled</span>, then additionally set the <span>text
+ track mode</span> of each such track to <span title="text track
+ hidden">hidden</span>.</p> <!-- so that we still get events and
+ stuff: we can expect authors to forget that default doesn't mean
+ that it'll always be turned on, and that they'll still rely on
+ events firing even if it doesn't show -->
<p class="note">For example, the user could have set a browser
preference to the effect of "I want French captions whenever
@@ -37642,20 +37652,17 @@
available, enable one, ideally in Swiss German, but failing that
in Standard Swiss German or Standard German".</p>
+ <p>Otherwise, if there are any <span title="text track">text
+ tracks</span> in <var title="">candidates</var> that correspond to
+ <code>track</code> elements with a <code
+ title="attr-track-default">default</code> attribute set whose
+ <span>text track mode</span> is set to <span title="text track
+ disabled">disabled</span>, then set the <span>text track
+ mode</span> of each such track to <span title="text track
+ showing">showing</span>.</p>
+
</li>
- <li><p>If there are any <span title="text track">text tracks</span>
- in <var title="">candidates</var> that correspond to
- <code>track</code> elements with a <code
- title="attr-track-default">default</code> attribute set whose
- <span>text track mode</span> is set to <span title="text track
- disabled">disabled</span>, then set the <span>text track
- mode</span> of each such track to <span title="text track
- hidden">hidden</span>.</p> <!-- so that we still get events and
- stuff: we can expect authors to forget that default doesn't mean
- that it'll always be turned on, and that they'll still rely on
- events firing even if it doesn't show -->
-
</ol>
<p>When a <span>text track</span> corresponding to a
More information about the Commit-Watchers
mailing list