Added syntax for region settings.
authorSilvia Pfeiffer
Tue, 05 Feb 2013 22:56:50 +1100
changeset 54 412701c36230
parent 53 fb5e173ebd94
child 55 08f3dc408ee4
Added syntax for region settings.
608toVTT/region.html
--- a/608toVTT/region.html	Mon Feb 04 22:53:54 2013 +1100
+++ b/608toVTT/region.html	Tue Feb 05 22:56:50 2013 +1100
@@ -259,10 +259,71 @@
         </ul>
 
         <p class="note"><a href="#webvtt-region-settings">WebVTT region settings</a> give configuration
-        options regarding the position and alignment of the cue. For
-        example, it allows a cue to be aligned to the left or positioned at
-        the top right.</p>
+        options regarding the dimensions, positioning and anchoring of the region. For
+        example, it allows a group of cues within a region to be anchored in the center of the
+        region and the center of the video viewport. In this example, when the font size grows,
+        the region grows uniformly in all directions from the center.</p>
 
+        <p>A <dfn id="webvtt-region-identifier">WebVTT region identifier</dfn> consists of the
+        following components, in the order given:</p>
+        <ol>
+          <li><p>The string "<code>id</code>".</p></li>
+          <li><p>A U+003D EQUALS SIGN character (=).</p></li>
+          <li><p>An arbitrary string of one or more characters other than U+0020 SPACE
+          or U+0009 CHARACTER TABULATION character. The string must not contain the substring
+          "<code title="">--></code>" (U+002D HYPHEN-MINUS, U+002D HYPHEN-MINUS,
+          U+003E GREATER-THAN SIGN).</p></li>
+        </ol>
+
+        <p>A <dfn id="webvtt-region-width">WebVTT region width setting</dfn> consists of the
+        following components, in the order given:</p>
+        <ol>
+         <li><p>The string "<code title="">width</code>".</p></li>
+         <li><p>A U+003D EQUALS SIGN character ().</p></li>
+         <li><p>One or more <span>ASCII digits</span>.</p></li>
+         <li><p>A U+0025 PERCENT SIGN character (%).</p></li>
+        </ol>
+
+        <p>A <dfn id="webvtt-region-height">WebVTT region height setting</dfn> consists of the
+        following components, in the order given:</p>
+        <ol>
+         <li><p>The string "<code title="">height</code>".</p></li>
+         <li><p>A U+003D EQUALS SIGN character (=).</p></li>
+         <li><p>One or more <span>ASCII digits</span>.</p></li>
+        </ol>
+
+        <p>A <dfn id="webvtt-region-anchor">WebVTT region anchor setting</dfn> consists of the
+        following components, in the order given:</p>
+        <ol>
+         <li><p>The string "<code title="">regionanchor</code>".</p></li>
+         <li><p>A U+003D EQUALS SIGN character (=).</p></li>
+         <li><p>One or more <span>ASCII digits</span>.</p></li>
+         <li><p>A U+0025 PERCENT SIGN character (%).</p></li>
+         <li><p>A U+002C COMMA character (,).</p></li>
+         <li><p>One or more <span>ASCII digits</span>.</p></li>
+         <li><p>A U+0025 PERCENT SIGN character (%).</p></li>
+        </ol>
+
+        <p>A <dfn id="webvtt-region-viewport-anchor">WebVTT region viewport anchor setting</dfn>
+        consists of the following components, in the order given:</p>
+        <ol>
+         <li><p>The string "<code title="">regionviewport</code>".</p></li>
+         <li><p>A U+003D EQUALS SIGN character (=).</p></li>
+         <li><p>One or more <span>ASCII digits</span>.</p></li>
+         <li><p>A U+0025 PERCENT SIGN character (%).</p></li>
+         <li><p>A U+002C COMMA character (,).</p></li>
+         <li><p>One or more <span>ASCII digits</span>.</p></li>
+         <li><p>A U+0025 PERCENT SIGN character (%).</p></li>
+        </ol>
+
+        <p>A <dfn id="webvtt-region-scroll">WebVTT region scroll setting</dfn> consists of the
+        following components, in the order given:</p>
+        <ol>
+          <li><p>The string "<code>scroll</code>".</p></li>
+          <li><p>A U+003D EQUALS SIGN character (=).</p></li>
+          <li><p>The string "<code>up</code>".</code></p></li>
+        </ol>
+                
       </section>
     </section>