[html5] r7059 - [giowt] (0) fix the alignment of end-aligned text cues Fixing https://www.w3.org [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Apr 19 15:54:19 PDT 2012


Author: ianh
Date: 2012-04-19 15:54:19 -0700 (Thu, 19 Apr 2012)
New Revision: 7059

Modified:
   source
Log:
[giowt] (0) fix the alignment of end-aligned text cues
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=14575
Affected topics: Video Text Tracks

Modified: source
===================================================================
--- source	2012-04-18 23:30:24 UTC (rev 7058)
+++ source	2012-04-19 22:54:19 UTC (rev 7059)
@@ -109020,21 +109020,29 @@
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue horizontal writing direction">horizontal</span>,
               the <span>text track cue alignment</span> is <span title="text track cue start alignment">start</span>,
               and <var title="">direction</var> is 'ltr'</dt>
+       <dd>
+        <p>Let <var title="">x-position</var> be the <span>text track cue text position</span>.</p>
+       </dd>
+
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue horizontal writing direction">horizontal</span>,
               the <span>text track cue alignment</span> is <span title="text track cue end alignment">end</span>,
               and <var title="">direction</var> is 'rtl'</dt>
        <dd>
-        <p>Let <var title="">x-position</var> be the <span>text track cue text position</span>.</p>
+        <p>Let <var title="">x-position</var> be the <span>text track cue text position</span> subtracted from 100.</p>
        </dd>
 
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue horizontal writing direction">horizontal</span>,
               the <span>text track cue alignment</span> is <span title="text track cue end alignment">end</span>,
               and <var title="">direction</var> is 'ltr'</dt>
+       <dd>
+        <p>Let <var title="">x-position</var> be the <span>text track cue text position</span> minus <var title="">size</var>.</p>
+       </dd>
+
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue horizontal writing direction">horizontal</span>,
               the <span>text track cue alignment</span> is <span title="text track cue start alignment">start</span>,
               and <var title="">direction</var> is 'rtl'</dt>
        <dd>
-        <p>Let <var title="">x-position</var> be the <span>text track cue text position</span> subtracted from 100.</p>
+        <p>Let <var title="">x-position</var> be the <span>text track cue text position</span> subtracted from 100, minus <var title="">size</var>.</p>
        </dd>
 
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue vertical growing left writing direction">vertical growing left</span>,
@@ -109050,7 +109058,7 @@
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue vertical growing right writing direction">vertical growing right</span>,
               and the <span>text track cue alignment</span> is <span title="text track cue end alignment">end</span></dt>
        <dd>
-        <p>Let <var title="">y-position</var> be the <span>text track cue text position</span> subtracted from 100.</p>
+        <p>Let <var title="">y-position</var> be the <span>text track cue text position</span> minus <var title="">size</var>.</p>
        </dd>
 
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue horizontal writing direction">horizontal</span>,
@@ -109064,8 +109072,7 @@
               the <span>text track cue alignment</span> is <span title="text track cue middle alignment">middle</span>,
               and <var title="">direction</var> is 'rtl'</dt>
        <dd>
-        <p>Let <var title="">x-position-reverse</var> be the <span>text track cue text position</span> minus half of <var title="">size</var>.</p>
-        <p>Let <var title="">x-position</var> be <var title="">x-position-reverse</var> subtracted from 100.</p>
+        <p>Let <var title="">x-position</var> be the <span>text track cue text position</span> subtracted from 100, minus half of <var title="">size</var>.</p>
        </dd>
 
        <dt>If the <span>text track cue writing direction</span> is <span title="text track cue vertical growing left writing direction">vertical growing left</span>,




More information about the Commit-Watchers mailing list