[html5] r5131 - [e] (0) Captions - Stage 16.2: Rendering rules: some notes.

whatwg at whatwg.org whatwg at whatwg.org
Thu Jul 1 16:23:48 PDT 2010


Author: ianh
Date: 2010-07-01 16:23:47 -0700 (Thu, 01 Jul 2010)
New Revision: 5131

Modified:
   complete.html
   index
   source
Log:
[e] (0) Captions - Stage 16.2: Rendering rules: some notes.

Modified: complete.html
===================================================================
--- complete.html	2010-07-01 22:01:31 UTC (rev 5130)
+++ complete.html	2010-07-01 23:23:47 UTC (rev 5131)
@@ -1290,7 +1290,10 @@
    <li><a href=#replaced-elements><span class=secno>14.3 </span>Replaced elements</a>
     <ol>
      <li><a href=#embedded-content-2><span class=secno>14.3.1 </span>Embedded content</a></li>
-     <li><a href=#timed-tracks-0><span class=secno>14.3.2 </span>Timed tracks</a></li>
+     <li><a href=#timed-tracks-0><span class=secno>14.3.2 </span>Timed tracks</a>
+      <ol>
+       <li><a href=#websrt-cue-text-rendering-rules><span class=secno>14.3.2.1 </span>WebSRT cue text rendering rules</a></li>
+       <li><a href=#css-extensions><span class=secno>14.3.2.2 </span>CSS extensions</a></ol></li>
      <li><a href=#images-0><span class=secno>14.3.3 </span>Images</a></li>
      <li><a href=#attributes-for-embedded-content-and-images><span class=secno>14.3.4 </span>Attributes for embedded content and images</a></li>
      <li><a href=#image-maps-0><span class=secno>14.3.5 </span>Image maps</a></li>
@@ -85589,10 +85592,46 @@
 
   <h4 id=timed-tracks-0><span class=secno>14.3.2 </span>Timed tracks</h4>
 
-  <p class=XXX><dfn id=websrt-cue-text-rendering-rules>WebSRT cue text rendering rules</dfn></p>
+  <h5 id=websrt-cue-text-rendering-rules><span class=secno>14.3.2.1 </span><dfn>WebSRT cue text rendering rules</dfn></h5>
 
-  <p class=XXX>CSS extensions</p>
+  <p class=XXX>
 
+  <!--
+
+   list of active WebSRT or WebSRT-compatible cues and their positions
+   (different than a track's list of active cues)
+
+   steps to run each time the current playback position changes, for
+   positioning:
+    - determine what cues are to be removed now
+    - remove them
+    - determine what cues are to be added now
+    - for each one:
+       - find default position per http://damowmow.com/temp/srtspec
+       - shunt it around to fit the current active ones
+       - add it to the list
+
+   rules for rendering the list of active cues:
+    - for each segment, decide if it's before or after the current
+      playback position.
+    - style it, using the voice and other styles.
+
+   It's important that we support transitions when the styles
+   change. Would be nice to support transitions that are directional,
+   e.g. changing text fill colour or shadow size of the start of a
+   segment when the segment becomes "before", and having the change
+   propagate towards the end of the segment so that it reaches the end
+   of the segment when the next segment becomes "before".
+
+  -->
+
+  <h5 id=css-extensions><span class=secno>14.3.2.2 </span>CSS extensions</h5>
+
+  <p class=note>This section is intended to be moved to a CSS
+  specification once an editor is found to run with it.</p>
+
+  <p class=XXX>...</p>
+
   </div>
 </div>
 <!--TT-->

Modified: index
===================================================================
--- index	2010-07-01 22:01:31 UTC (rev 5130)
+++ index	2010-07-01 23:23:47 UTC (rev 5131)
@@ -1160,7 +1160,10 @@
    <li><a href=#replaced-elements><span class=secno>12.3 </span>Replaced elements</a>
     <ol>
      <li><a href=#embedded-content-2><span class=secno>12.3.1 </span>Embedded content</a></li>
-     <li><a href=#timed-tracks-0><span class=secno>12.3.2 </span>Timed tracks</a></li>
+     <li><a href=#timed-tracks-0><span class=secno>12.3.2 </span>Timed tracks</a>
+      <ol>
+       <li><a href=#websrt-cue-text-rendering-rules><span class=secno>12.3.2.1 </span>WebSRT cue text rendering rules</a></li>
+       <li><a href=#css-extensions><span class=secno>12.3.2.2 </span>CSS extensions</a></ol></li>
      <li><a href=#images-0><span class=secno>12.3.3 </span>Images</a></li>
      <li><a href=#attributes-for-embedded-content-and-images><span class=secno>12.3.4 </span>Attributes for embedded content and images</a></li>
      <li><a href=#image-maps-0><span class=secno>12.3.5 </span>Image maps</a></li>
@@ -78830,10 +78833,46 @@
 
   <h4 id=timed-tracks-0><span class=secno>12.3.2 </span>Timed tracks</h4>
 
-  <p class=XXX><dfn id=websrt-cue-text-rendering-rules>WebSRT cue text rendering rules</dfn></p>
+  <h5 id=websrt-cue-text-rendering-rules><span class=secno>12.3.2.1 </span><dfn>WebSRT cue text rendering rules</dfn></h5>
 
-  <p class=XXX>CSS extensions</p>
+  <p class=XXX>
 
+  <!--
+
+   list of active WebSRT or WebSRT-compatible cues and their positions
+   (different than a track's list of active cues)
+
+   steps to run each time the current playback position changes, for
+   positioning:
+    - determine what cues are to be removed now
+    - remove them
+    - determine what cues are to be added now
+    - for each one:
+       - find default position per http://damowmow.com/temp/srtspec
+       - shunt it around to fit the current active ones
+       - add it to the list
+
+   rules for rendering the list of active cues:
+    - for each segment, decide if it's before or after the current
+      playback position.
+    - style it, using the voice and other styles.
+
+   It's important that we support transitions when the styles
+   change. Would be nice to support transitions that are directional,
+   e.g. changing text fill colour or shadow size of the start of a
+   segment when the segment becomes "before", and having the change
+   propagate towards the end of the segment so that it reaches the end
+   of the segment when the next segment becomes "before".
+
+  -->
+
+  <h5 id=css-extensions><span class=secno>12.3.2.2 </span>CSS extensions</h5>
+
+  <p class=note>This section is intended to be moved to a CSS
+  specification once an editor is found to run with it.</p>
+
+  <p class=XXX>...</p>
+
   </div>
 </div>
 <!--TT-->

Modified: source
===================================================================
--- source	2010-07-01 22:01:31 UTC (rev 5130)
+++ source	2010-07-01 23:23:47 UTC (rev 5131)
@@ -97605,10 +97605,46 @@
 
   <h4>Timed tracks</h4>
 
-  <p class="XXX"><dfn>WebSRT cue text rendering rules</dfn></p>
+  <h5><dfn>WebSRT cue text rendering rules</dfn></h5>
 
-  <p class="XXX">CSS extensions</p>
+  <p class="XXX">
 
+  <!--
+
+   list of active WebSRT or WebSRT-compatible cues and their positions
+   (different than a track's list of active cues)
+
+   steps to run each time the current playback position changes, for
+   positioning:
+    - determine what cues are to be removed now
+    - remove them
+    - determine what cues are to be added now
+    - for each one:
+       - find default position per http://damowmow.com/temp/srtspec
+       - shunt it around to fit the current active ones
+       - add it to the list
+
+   rules for rendering the list of active cues:
+    - for each segment, decide if it's before or after the current
+      playback position.
+    - style it, using the voice and other styles.
+
+   It's important that we support transitions when the styles
+   change. Would be nice to support transitions that are directional,
+   e.g. changing text fill colour or shadow size of the start of a
+   segment when the segment becomes "before", and having the change
+   propagate towards the end of the segment so that it reaches the end
+   of the segment when the next segment becomes "before".
+
+  -->
+
+  <h5>CSS extensions</h5>
+
+  <p class="note">This section is intended to be moved to a CSS
+  specification once an editor is found to run with it.</p>
+
+  <p class="XXX">...</p>
+
   </div>
 </div>
 <!--START w3c-html--><!--TT-->




More information about the Commit-Watchers mailing list