[html5] r7430 - [giow] (1) Updating cues' styles and properties dynamically should be visible im [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Oct 2 15:48:00 PDT 2012
Author: ianh
Date: 2012-10-02 15:47:59 -0700 (Tue, 02 Oct 2012)
New Revision: 7430
Modified:
complete.html
index
source
Log:
[giow] (1) Updating cues' styles and properties dynamically should be visible immediately
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=16920
Affected topics: Video Text Tracks
Modified: complete.html
===================================================================
--- complete.html 2012-10-02 21:39:00 UTC (rev 7429)
+++ complete.html 2012-10-02 22:47:59 UTC (rev 7430)
@@ -34129,7 +34129,20 @@
</dd>
- </dl><p>The <a href=#text-track-cue title="text track cue">text track cues</a> of a
+ </dl><p>When a <a href=#text-track-cue>text track cue</a> whose <a href=#text-track-cue-active-flag title="text track cue active flag">active
+ flag</a> is set has its
+ <a href=#text-track-cue-writing-direction title="text track cue writing direction">writing direction</a>,
+ <a href=#text-track-cue-snap-to-lines-flag title="text track cue snap-to-lines flag">snap-to-lines flag</a>,
+ <a href=#text-track-cue-line-position title="text track cue line position">line position</a>,
+ <a href=#text-track-cue-text-position title="text track cue text position">text position</a>,
+ <a href=#text-track-cue-size title="text track cue size">size</a>,
+ <a href=#text-track-cue-alignment title="text track cue alignment">alignment</a>, or
+ <a href=#text-track-cue-text title="text track cue text">text</a>
+ change value, then the user agent must empty the <a href=#text-track-cue-display-state>text track cue display state</a>, and
+ then immediately run the <a href=#text-track>text track</a>'s <a href=#rules-for-updating-the-display-of-webvtt-text-tracks>rules for updating the display of WebVTT
+ text tracks</a>.</p>
+
+ <p>The <a href=#text-track-cue title="text track cue">text track cues</a> of a
<a href=#media-element>media element</a>'s <a href=#text-track title="text track">text
tracks</a> are ordered relative to each other in the <dfn id=text-track-cue-order>text
track cue order</dfn>, which is determined as follows: first group
Modified: index
===================================================================
--- index 2012-10-02 21:39:00 UTC (rev 7429)
+++ index 2012-10-02 22:47:59 UTC (rev 7430)
@@ -34129,7 +34129,20 @@
</dd>
- </dl><p>The <a href=#text-track-cue title="text track cue">text track cues</a> of a
+ </dl><p>When a <a href=#text-track-cue>text track cue</a> whose <a href=#text-track-cue-active-flag title="text track cue active flag">active
+ flag</a> is set has its
+ <a href=#text-track-cue-writing-direction title="text track cue writing direction">writing direction</a>,
+ <a href=#text-track-cue-snap-to-lines-flag title="text track cue snap-to-lines flag">snap-to-lines flag</a>,
+ <a href=#text-track-cue-line-position title="text track cue line position">line position</a>,
+ <a href=#text-track-cue-text-position title="text track cue text position">text position</a>,
+ <a href=#text-track-cue-size title="text track cue size">size</a>,
+ <a href=#text-track-cue-alignment title="text track cue alignment">alignment</a>, or
+ <a href=#text-track-cue-text title="text track cue text">text</a>
+ change value, then the user agent must empty the <a href=#text-track-cue-display-state>text track cue display state</a>, and
+ then immediately run the <a href=#text-track>text track</a>'s <a href=#rules-for-updating-the-display-of-webvtt-text-tracks>rules for updating the display of WebVTT
+ text tracks</a>.</p>
+
+ <p>The <a href=#text-track-cue title="text track cue">text track cues</a> of a
<a href=#media-element>media element</a>'s <a href=#text-track title="text track">text
tracks</a> are ordered relative to each other in the <dfn id=text-track-cue-order>text
track cue order</dfn>, which is determined as follows: first group
Modified: source
===================================================================
--- source 2012-10-02 21:39:00 UTC (rev 7429)
+++ source 2012-10-02 22:47:59 UTC (rev 7430)
@@ -37396,6 +37396,19 @@
</dl>
+ <p>When a <span>text track cue</span> whose <span title="text track cue active flag">active
+ flag</span> is set has its
+ <span title="text track cue writing direction">writing direction</span>,
+ <span title="text track cue snap-to-lines flag">snap-to-lines flag</span>,
+ <span title="text track cue line position">line position</span>,
+ <span title="text track cue text position">text position</span>,
+ <span title="text track cue size">size</span>,
+ <span title="text track cue alignment">alignment</span>, or
+ <span title="text track cue text">text</span>
+ change value, then the user agent must empty the <span>text track cue display state</span>, and
+ then immediately run the <span>text track</span>'s <span>rules for updating the display of WebVTT
+ text tracks</span>.</p>
+
<p>The <span title="text track cue">text track cues</span> of a
<span>media element</span>'s <span title="text track">text
tracks</span> are ordered relative to each other in the <dfn>text
@@ -113973,7 +113986,7 @@
<li><p>If the last time these rules were run, the user agent was
not <span title="expose a user interface to the user">exposing a
user interface</span> for <var title="">video</var>, but now it is,
- let <var title="">reset</var> be true. Otherwise, let <var
+ optionally let <var title="">reset</var> be true. Otherwise, let <var
title="">reset</var> be false.</p>
<li><p>Let <var title="">tracks</var> be the subset of <var
@@ -114746,7 +114759,11 @@
between applications of the <span>WebVTT cue text rendering
rules</span> (which are only run when the set of active cues
changes). User agents that support the pseudo-element described
- below must dynamically update renderings accordingly.</p>
+ below must dynamically update renderings accordingly.
+ When either 'white-space' or one of the properties corresponding to the 'font' shorthand
+ (including 'line-height') changes value, then the <span>text track cue</span>'s <span>text track
+ cue display state</span> must be emptied and the <span>text track</span>'s <span>rules for
+ updating the text track rendering</span> must be immediately rerun.</p>
<p>Pseudo-elements apply to elements that are matched by
selectors. For the purpose of this section, that element is the
More information about the Commit-Watchers
mailing list