- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 26 Oct 2011 23:46:29 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv29289
Modified Files:
rendering.html spec.html the-iframe-element.html
Log Message:
Somehow the automatic feature of cue line position was never properly specified. (whatwg r6769)
[updated by splitter]
Index: the-iframe-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-iframe-element.html,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -d -r1.139 -r1.140
--- the-iframe-element.html 26 Oct 2011 22:46:24 -0000 1.139
+++ the-iframe-element.html 26 Oct 2011 23:46:26 -0000 1.140
@@ -7772,39 +7772,13 @@
otherwise.</p>
<p>The <dfn id="dom-texttrackcue-lineposition" title="dom-TextTrackCue-linePosition"><code>linePosition</code></dfn>
- attribute, on getting, must return the <span>text track cue line
- position</span> of the <a href="#text-track-cue">text track cue</a> that the
- <code><a href="#texttrackcue">TextTrackCue</a></code> object represents, if that value is
- numeric. Otherwise, the value is the special value <span title="text
- track cue automatic line position">auto</span>; if the <span>text
- track cue snap-to-lines flag</span> of the <a href="#text-track-cue">text track
- cue</a> that the <code><a href="#texttrackcue">TextTrackCue</a></code> object represents is
- not set, the attribute must return the value 100; otherwise, it must
- return the value returned by the following algorithm:</p>
-
- <ol><li><p>Let <var title="">cue</var> be the <a href="#text-track-cue">text track
- cue</a> that the <code><a href="#texttrackcue">TextTrackCue</a></code> object
- represents.</p></li>
-
- <li><p>If <var title="">cue</var> is not associated with a
- <a href="#text-track">text track</a>, return −1 and abort these
- steps.</p></li>
-
- <li><p>Let <var title="">track</var> be the <a href="#text-track">text track</a>
- that the <var title="">cue</var> is associated with.</p></li>
-
- <li><p>Let <var title="">n</var> be the number of <a href="#text-track" title="text
- track">text tracks</a> whose <a href="#text-track-mode">text track mode</a> is
- <a href="#text-track-showing" title="text track showing">showing</a> or <a href="#text-track-showing-by-default" title="text track showing by default">showing by default</a> and
- that are in the <a href="#media-element">media element</a>'s <a href="#list-of-text-tracks">list of text
- tracks</a> before <var title="">track</var>.</p></li>
-
- <li><p>Return <var title="">n</var>.</p></li>
-
- </ol><p>On setting, if the <span>text track cue snap-to-lines flag</span>
- is not set, and the new value is negative or greater than 100, then
- throw an <code><a href="infrastructure.html#indexsizeerror">IndexSizeError</a></code> exception. Otherwise, set the
- <span>text track cue line position</span> to the new value.</p>
+ attribute, on getting, must return the <span>text track cue computed
+ line position</span> of the <a href="#text-track-cue">text track cue</a> that the
+ <code><a href="#texttrackcue">TextTrackCue</a></code> object represents. On setting, if the
+ <span>text track cue snap-to-lines flag</span> is not set, and the
+ new value is negative or greater than 100, then throw an
+ <code><a href="infrastructure.html#indexsizeerror">IndexSizeError</a></code> exception. Otherwise, set the <span>text
+ track cue line position</span> to the new value.</p>
<p class="note">There is no way to explicitly set the <span>text
track cue line position</span> to the special default <span title="text track cue automatic line position">auto</span>
Index: rendering.html
===================================================================
RCS file: /sources/public/html5/spec/rendering.html,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- rendering.html 24 Oct 2011 23:46:28 -0000 1.126
+++ rendering.html 26 Oct 2011 23:46:26 -0000 1.127
@@ -1756,7 +1756,7 @@
<dt>If the <a href="the-iframe-element.html#text-track-cue-writing-direction">text track cue writing direction</a> is <a href="the-iframe-element.html#text-track-cue-horizontal-writing-direction" title="text track cue horizontal writing direction">horizontal</a>,
and the <span>text track cue snap-to-lines flag</span> is not set</dt>
<dd>
- <p>Let <var title="">y-position</var> be the <span>text track cue line position</span>.</p>
+ <p>Let <var title="">y-position</var> be the <span>text track cue computed line position</span>.</p>
</dd>
<dt>If the <a href="the-iframe-element.html#text-track-cue-writing-direction">text track cue writing direction</a> is <a href="the-iframe-element.html#text-track-cue-vertical-growing-left-writing-direction" title="text track cue vertical growing left writing direction">vertical growing left</a>,
@@ -1772,7 +1772,7 @@
<dt>If the <a href="the-iframe-element.html#text-track-cue-writing-direction">text track cue writing direction</a> is <a href="the-iframe-element.html#text-track-cue-vertical-growing-right-writing-direction" title="text track cue vertical growing right writing direction">vertical growing right</a>,
and the <span>text track cue snap-to-lines flag</span> is not set</dt>
<dd>
- <p>Let <var title="">x-position</var> be the <span>text track cue line position</span>.</p>
+ <p>Let <var title="">x-position</var> be the <span>text track cue computed line position</span>.</p>
</dd>
</dl></li>
@@ -1884,7 +1884,7 @@
step labeled <i>done positioning</i> below.</p></li>
<li><p>Let <var title="">line position</var> be the
- <span>text track cue line position</span>.</p></li>
+ <span>text track cue computed line position</span>.</p></li>
<li><p><strong>Vertical Growing Left</strong>: Add one to
<var title="">line position</var> then negate it.</p></li>
@@ -1986,7 +1986,7 @@
<dd>
<p>Let <var title="">x</var> be a percentage given by the
<span>text track cue text position</span>, and let <var title="">y</var> be a percentage given by the <span>text
- track cue line position</span>.</p>
+ track cue computed line position</span>.</p>
</dd>
<dt>If the <a href="the-iframe-element.html#text-track-cue-writing-direction">text track cue writing direction</a> is <a href="the-iframe-element.html#text-track-cue-horizontal-writing-direction" title="text track cue horizontal writing direction">horizontal</a>,
@@ -1995,13 +1995,13 @@
<p>Let <var title="">x</var> be a percentage given by the
<span>text track cue text position</span> subtracted from
100, and let <var title="">y</var> be a percentage given
- by the <span>text track cue line position</span>.</p>
+ by the <span>text track cue computed line position</span>.</p>
</dd>
<dt>If the <a href="the-iframe-element.html#text-track-cue-writing-direction">text track cue writing direction</a> is <a href="the-iframe-element.html#text-track-cue-vertical-growing-left-writing-direction" title="text track cue vertical growing left writing direction">vertical growing left</a></dt>
<dd>
<p>Let <var title="">x</var> be a percentage given by the
- <span>text track cue line position</span> subtracted from
+ <span>text track cue computed line position</span> subtracted from
100, and let <var title="">y</var> be a percentage given
by the <span>text track cue text position</span>.</p>
</dd>
@@ -2009,7 +2009,7 @@
<dt>If the <a href="the-iframe-element.html#text-track-cue-writing-direction">text track cue writing direction</a> is <a href="the-iframe-element.html#text-track-cue-vertical-growing-right-writing-direction" title="text track cue vertical growing right writing direction">vertical growing right</a></dt>
<dd>
<p>Let <var title="">x</var> be a percentage given by the
- <span>text track cue line position</span>, and let <var title="">y</var> be a percentage given by the <span>text
+ <span>text track cue computed line position</span>, and let <var title="">y</var> be a percentage given by the <span>text
track cue text position</span>.</p>
</dd>
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1753
retrieving revision 1.1754
diff -u -d -r1.1753 -r1.1754
--- spec.html 26 Oct 2011 22:46:24 -0000 1.1753
+++ spec.html 26 Oct 2011 23:46:26 -0000 1.1754
@@ -349,7 +349,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">web developer edition</a>.
-This is revision 1.5418.
+This is revision 1.5419.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2011 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Wednesday, 26 October 2011 23:46:31 UTC