Oops, fix the example to actually use the correct align values.
authorSilvia Pfeiffer
Mon, 04 Nov 2013 13:46:57 +1100
changeset 145 1760787c4037
parent 144 74c7166d0199
child 146 6a14ce75d248
Oops, fix the example to actually use the correct align values.
webvtt/Overview.html
webvtt/webvtt.html
--- a/webvtt/Overview.html	Mon Nov 04 13:42:56 2013 +1100
+++ b/webvtt/Overview.html	Mon Nov 04 13:46:57 2013 +1100
@@ -280,7 +280,7 @@
   </p>
   <h1 class="title p-name" id="title" property="dcterms:title">WebVTT: The Web Video Text Tracks Format</h1>
   
-  <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2013-11-03T15:39:40.000Z" id="draft-community-group-specification-04-november-2013">Draft Community Group Specification <time class="dt-published" datetime="2013-11-04">04 November 2013</time></h2>
+  <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2013-11-03T15:46:32.000Z" id="draft-community-group-specification-04-november-2013">Draft Community Group Specification <time class="dt-published" datetime="2013-11-04">04 November 2013</time></h2>
   <dl>
     
     
@@ -585,16 +585,16 @@
 
   <pre>WEBVTT
 
-00:00:00.000 --&gt; 00:00:04.000 position:10%,left align:left size:35%
+00:00:00.000 --&gt; 00:00:04.000 position:10%,start align:start size:35%
 Where did he go?
 
-00:00:03.000 --&gt; 00:00:06.500 position:90% align:right size:35%
+00:00:03.000 --&gt; 00:00:06.500 position:90% align:end size:35%
 I think he went down this lane.
 
-00:00:04.000 --&gt; 00:00:06.500 position:10%,left align:middle size:35%
+00:00:04.000 --&gt; 00:00:06.500 position:10%,end align:middle size:35%
 What are you waiting for?</pre>
 
-  <p>The cues cover only 35% of the video viewport's width. The first cue has its <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a> left aligned at the 10% mark of the video viewport width and the text is left aligned within that box - probably underneath a speaker on the left of the video image. "left" alignment of the cue box is the default for left aligned text, so does not need to be specified in "position". The second cue has its <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a> right aligned at the 90% mark of the video viewport width. The same effect can be achieved with "position:55%,left", which explicitly positions the cue box. The third cue has middle aligned text within the same type of cue box as the first cue.</p>
+  <p>The cues cover only 35% of the video viewport's width. The first cue has its <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a> left aligned at the 10% mark of the video viewport width and the text is left aligned within that box - probably underneath a speaker on the left of the video image. "start" alignment of the cue box is the default for start aligned text, so does not need to be specified in "position". The second cue has its <a title="text track cue box" href="#dfn-text-track-cue-box" class="internalDFN">cue box</a> right aligned at the 90% mark of the video viewport width. The same effect can be achieved with "position:55%,start", which explicitly positions the cue box. The third cue has middle aligned text within the same type of cue box as the first cue.</p>
   </div>
 
   <div class="example">
--- a/webvtt/webvtt.html	Mon Nov 04 13:42:56 2013 +1100
+++ b/webvtt/webvtt.html	Mon Nov 04 13:46:57 2013 +1100
@@ -455,16 +455,16 @@
 
   <pre>WEBVTT
 
-00:00:00.000 --> 00:00:04.000 position:10%,left align:left size:35%
+00:00:00.000 --> 00:00:04.000 position:10%,start align:start size:35%
 Where did he go?
 
-00:00:03.000 --> 00:00:06.500 position:90% align:right size:35%
+00:00:03.000 --> 00:00:06.500 position:90% align:end size:35%
 I think he went down this lane.
 
-00:00:04.000 --> 00:00:06.500 position:10%,left align:middle size:35%
+00:00:04.000 --> 00:00:06.500 position:10%,end align:middle size:35%
 What are you waiting for?</pre>
 
-  <p>The cues cover only 35% of the video viewport's width. The first cue has its <a title="text track cue box">cue box</a> left aligned at the 10% mark of the video viewport width and the text is left aligned within that box - probably underneath a speaker on the left of the video image. "left" alignment of the cue box is the default for left aligned text, so does not need to be specified in "position". The second cue has its <a title="text track cue box">cue box</a> right aligned at the 90% mark of the video viewport width. The same effect can be achieved with "position:55%,left", which explicitly positions the cue box. The third cue has middle aligned text within the same type of cue box as the first cue.</p>
+  <p>The cues cover only 35% of the video viewport's width. The first cue has its <a title="text track cue box">cue box</a> left aligned at the 10% mark of the video viewport width and the text is left aligned within that box - probably underneath a speaker on the left of the video image. "start" alignment of the cue box is the default for start aligned text, so does not need to be specified in "position". The second cue has its <a title="text track cue box">cue box</a> right aligned at the 90% mark of the video viewport width. The same effect can be achieved with "position:55%,start", which explicitly positions the cue box. The third cue has middle aligned text within the same type of cue box as the first cue.</p>
   </div>
 
   <div class="example">