HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/7063

SVNBugCommentTime (UTC)
7063[Gecko] [Internet Explorer] [Opera] [Webkit] Add new escapes to WebVTT for bidi authors2012-04-24 21:25
Index: source
===================================================================
--- source	(revision 7062)
+++ source	(revision 7063)
@@ -37431,6 +37431,8 @@
    <li>A <span>WebVTT cue amp escape</span>, representing a "&amp;" character in the text of the cue.</li>
    <li>A <span>WebVTT cue lt escape</span>, representing a "&lt;" character in the text of the cue.</li>
    <li>A <span>WebVTT cue gt escape</span>, representing a "&gt;" character in the text of the cue.</li>
+   <li>A <span>WebVTT cue lrm escape</span>, representing a U+200E LEFT-TO-RIGHT MARK Unicode bidirectional formatting character in the text of the cue.</li>
+   <li>A <span>WebVTT cue rlm escape</span>, representing a U+200F RIGHT-TO-LEFT MARK Unicode bidirectional formatting character in the text of the cue.</li>
   </ul>
 
 
@@ -37456,6 +37458,8 @@
    <li>A <span>WebVTT cue amp escape</span>, representing a "&amp;" character in the text of the cue.</li>
    <li>A <span>WebVTT cue lt escape</span>, representing a "&lt;" character in the text of the cue.</li>
    <li>A <span>WebVTT cue gt escape</span>, representing a "&gt;" character in the text of the cue.</li>
+   <li>A <span>WebVTT cue lrm escape</span>, representing a U+200E LEFT-TO-RIGHT MARK Unicode bidirectional formatting character in the text of the cue.</li>
+   <li>A <span>WebVTT cue rlm escape</span>, representing a U+200F RIGHT-TO-LEFT MARK Unicode bidirectional formatting character in the text of the cue.</li>
 
   </ul>
 
@@ -37575,6 +37579,8 @@
      <li>A <span>WebVTT cue amp escape</span>, representing a "&amp;" character in the text of the annotation.</li>
      <li>A <span>WebVTT cue lt escape</span>, representing a "&lt;" character in the text of the annotation.</li>
      <li>A <span>WebVTT cue gt escape</span>, representing a "&gt;" character in the text of the annotation.</li>
+     <li>A <span>WebVTT cue lrm escape</span>, representing a U+200E LEFT-TO-RIGHT MARK Unicode bidirectional formatting character in the text of the cue.</li>
+     <li>A <span>WebVTT cue rlm escape</span>, representing a U+200F RIGHT-TO-LEFT MARK Unicode bidirectional formatting character in the text of the cue.</li>
     </ul>
 
    </li>
@@ -37624,8 +37630,14 @@
   <p>A <dfn>WebVTT cue gt escape</dfn> is the four character string
   "<code title="">&amp;gt;</code>".</p>
 
+  <p>A <dfn>WebVTT cue lrm escape</dfn> is the five character string
+  "<code title="">&amp;lrm;</code>".</p>
 
+  <p>A <dfn>WebVTT cue rlm escape</dfn> is the five character string
+  "<code title="">&amp;rlm;</code>".</p>
 
+
+
   <div class="impl">
 
   <h3>Parsing</h3>
@@ -38831,6 +38843,14 @@
         title="">&amp;gt</code>", then append a U+003E GREATER-THAN SIGN
         character (&gt;) to <var title="">result</var>.</p>
 
+        <p>If <var title="">buffer</var> is the string "<code
+        title="">&amp;lrm</code>", then append a U+200E LEFT-TO-RIGHT
+        MARK character to <var title="">result</var>.</p>
+
+        <p>If <var title="">buffer</var> is the string "<code
+        title="">&amp;rlm</code>", then append a U+200F RIGHT-TO-LEFT
+        MARK character to <var title="">result</var>.</p>
+
         <p>Otherwise, append <var title="">buffer</var> followed by a
         U+003B SEMICOLON character (;) to <var
         title="">result</var>.</p>

|