W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2012

hixie: rename TextTrackCue.direction to .vertical (and change the values accordingly) to match the setting names in VTT. (whatwg r7008)

From: poot <cvsmail@w3.org>
Date: Wed, 22 Feb 2012 15:12:00 -0500
To: public-html-diffs@w3.org
Message-Id: <E1S0IXg-0005cE-IP@jay.w3.org>
hixie: rename TextTrackCue.direction to .vertical (and change the values
accordingly) to match the setting names in VTT. (whatwg r7008)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5598&r2=1.5599&f=h
http://html5.org/tools/web-apps-tracker?from=7007&to=7008

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5598
retrieving revision 1.5599
diff -u -d -r1.5598 -r1.5599
--- Overview.html	22 Feb 2012 20:08:14 -0000	1.5598
+++ Overview.html	22 Feb 2012 20:11:50 -0000	1.5599
@@ -28164,7 +28164,7 @@
            attribute double <a href="#dom-texttrackcue-starttime" title="dom-TextTrackCue-startTime">startTime</a>;
            attribute double <a href="#dom-texttrackcue-endtime" title="dom-TextTrackCue-endTime">endTime</a>;
            attribute boolean <a href="#dom-texttrackcue-pauseonexit" title="dom-TextTrackCue-pauseOnExit">pauseOnExit</a>;
-           attribute DOMString <a href="#dom-texttrackcue-direction" title="dom-TextTrackCue-direction">direction</a>;
+           attribute DOMString <a href="#dom-texttrackcue-vertical" title="dom-TextTrackCue-vertical">vertical</a>;
            attribute boolean <a href="#dom-texttrackcue-snaptolines" title="dom-TextTrackCue-snapToLines">snapToLines</a>;
            attribute long <a href="#dom-texttrackcue-line" title="dom-TextTrackCue-line">line</a>;
            attribute long <a href="#dom-texttrackcue-position" title="dom-TextTrackCue-position">position</a>;
@@ -28217,15 +28217,15 @@
     <p>Can be set.</p>
    </dd>
 
-   <dt><var title="">cue</var> . <a href="#dom-texttrackcue-direction" title="dom-TextTrackCue-direction">direction</a> [ = <var title="">value</var> ]</dt>
+   <dt><var title="">cue</var> . <a href="#dom-texttrackcue-vertical" title="dom-TextTrackCue-vertical">vertical</a> [ = <var title="">value</var> ]</dt>
    <dd>
     <p>Returns a string representing the <a href="#text-track-cue-writing-direction">text track cue writing direction</a>, as follows:</p>
     <dl class="switch"><dt>If it is <a href="#text-track-cue-horizontal-writing-direction" title="text track cue horizontal writing direction">horizontal</a></dt>
-     <dd><p>The string "<code title="">horizontal</code>".</dd>
+     <dd><p>The empty string.</dd>
      <dt>If it is <a href="#text-track-cue-vertical-growing-left-writing-direction" title="text track cue vertical growing left writing direction">vertical growing left</a></dt>
-     <dd><p>The string "<code title="">vertical</code>".</dd>
+     <dd><p>The string "<code title="">rl</code>".</dd>
      <dt>If it is <a href="#text-track-cue-vertical-growing-right-writing-direction" title="text track cue vertical growing right writing direction">vertical growing right</a></dt>
-     <dd><p>The string "<code title="">vertical-lr</code>".</dd>
+     <dd><p>The string "<code title="">lr</code>".</dd>
     </dl><p>Can be set.</p>
    </dd>
 
@@ -28369,20 +28369,20 @@
   flag</a> must be set if the new value is true, and must be unset
   otherwise.</p>
 
-  <p>The <dfn id="dom-texttrackcue-direction" title="dom-TextTrackCue-direction"><code>direction</code></dfn>
+  <p>The <dfn id="dom-texttrackcue-vertical" title="dom-TextTrackCue-vertical"><code>vertical</code></dfn>
   attribute, on getting, must return the string from the second cell
   of the row in the table below whose first cell is the <a href="#text-track-cue-writing-direction">text
   track cue writing direction</a> of the <a href="#text-track-cue">text track
   cue</a> that the <code><a href="#texttrackcue">TextTrackCue</a></code> object represents:</p>
 
   <table><thead><tr><th> <a href="#text-track-cue-writing-direction">Text track cue writing direction</a>
-         <th> <code title="dom-TextTrackCue-direction"><a href="#dom-texttrackcue-direction">direction</a></code> value
+         <th> <code title="dom-TextTrackCue-direction">direction</code> value
    <tbody><tr><td> <a href="#text-track-cue-horizontal-writing-direction" title="text track cue horizontal writing direction">Horizontal</a>
-         <td> "<code title="">horizontal</code>"
+         <td> "<code title=""></code>" (the empty string)
     <tr><td> <a href="#text-track-cue-vertical-growing-left-writing-direction" title="text track cue vertical growing left writing direction">Vertical growing left</a>
-         <td> "<code title="">vertical</code>"
+         <td> "<code title="">rl</code>"
     <tr><td> <a href="#text-track-cue-vertical-growing-right-writing-direction" title="text track cue vertical growing right writing direction">Vertical growing right</a>
-         <td> "<code title="">vertical-lr</code>"
+         <td> "<code title="">lr</code>"
   </table><p>On setting, the <a href="#text-track-cue-writing-direction">text track cue writing direction</a>
   must be set to the value given in the first cell of the row in the
   table above whose second cell is a <a href="#case-sensitive">case-sensitive</a> match
Received on Wednesday, 22 February 2012 20:12:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 February 2012 20:12:02 GMT