W3C home > Mailing lists > Public > public-html-commits@w3.org > April 2012

html5/webvtt Overview.html,1.14,1.15

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 24 Apr 2012 21:25:22 +0000
To: public-html-commits@w3.org
Message-Id: <E1SMnEg-0001iW-4u@lionel-hutz.w3.org>
Update of /sources/public/html5/webvtt
In directory hutz:/tmp/cvs-serv6580

Modified Files:
	Overview.html 
Log Message:
Add new escapes to WebVTT for bidi authors (whatwg r7063)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/webvtt/Overview.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Overview.html	24 Apr 2012 21:14:41 -0000	1.14
+++ Overview.html	24 Apr 2012 21:25:20 -0000	1.15
@@ -560,6 +560,8 @@
    <li>A <a href=#webvtt-cue-amp-escape>WebVTT cue amp escape</a>, representing a "&amp;" character in the text of the cue.</li>
    <li>A <a href=#webvtt-cue-lt-escape>WebVTT cue lt escape</a>, representing a "&lt;" character in the text of the cue.</li>
    <li>A <a href=#webvtt-cue-gt-escape>WebVTT cue gt escape</a>, representing a "&gt;" character in the text of the cue.</li>
+   <li>A <a href=#webvtt-cue-lrm-escape>WebVTT cue lrm escape</a>, representing a U+200E LEFT-TO-RIGHT MARK Unicode bidirectional formatting character in the text of the cue.</li>
+   <li>A <a href=#webvtt-cue-rlm-escape>WebVTT cue rlm escape</a>, representing a U+200F RIGHT-TO-LEFT MARK Unicode bidirectional formatting character in the text of the cue.</li>
   </ul><p><dfn id=webvtt-cue-text>WebVTT cue text</dfn> consists of zero or more <a href=#webvtt-cue-components>WebVTT
   cue components</a>, in any order, each optionally separated from
   the next by a <a href=#webvtt-line-terminator>WebVTT line terminator</a>.</p>
@@ -580,6 +582,8 @@
    <li>A <a href=#webvtt-cue-amp-escape>WebVTT cue amp escape</a>, representing a "&amp;" character in the text of the cue.</li>
    <li>A <a href=#webvtt-cue-lt-escape>WebVTT cue lt escape</a>, representing a "&lt;" character in the text of the cue.</li>
    <li>A <a href=#webvtt-cue-gt-escape>WebVTT cue gt escape</a>, representing a "&gt;" character in the text of the cue.</li>
+   <li>A <a href=#webvtt-cue-lrm-escape>WebVTT cue lrm escape</a>, representing a U+200E LEFT-TO-RIGHT MARK Unicode bidirectional formatting character in the text of the cue.</li>
+   <li>A <a href=#webvtt-cue-rlm-escape>WebVTT cue rlm escape</a>, representing a U+200F RIGHT-TO-LEFT MARK Unicode bidirectional formatting character in the text of the cue.</li>
 
   </ul><p><dfn id=webvtt-cue-internal-text>WebVTT cue internal text</dfn> consists of an optional
   <a href=#webvtt-line-terminator>WebVTT line terminator</a>, followed by zero or more
@@ -679,6 +683,8 @@
      <li>A <a href=#webvtt-cue-amp-escape>WebVTT cue amp escape</a>, representing a "&amp;" character in the text of the annotation.</li>
      <li>A <a href=#webvtt-cue-lt-escape>WebVTT cue lt escape</a>, representing a "&lt;" character in the text of the annotation.</li>
      <li>A <a href=#webvtt-cue-gt-escape>WebVTT cue gt escape</a>, representing a "&gt;" character in the text of the annotation.</li>
+     <li>A <a href=#webvtt-cue-lrm-escape>WebVTT cue lrm escape</a>, representing a U+200E LEFT-TO-RIGHT MARK Unicode bidirectional formatting character in the text of the cue.</li>
+     <li>A <a href=#webvtt-cue-rlm-escape>WebVTT cue rlm escape</a>, representing a U+200F RIGHT-TO-LEFT MARK Unicode bidirectional formatting character in the text of the cue.</li>
     </ul></li>
 
    <li>A U+003E GREATER-THAN SIGN character (&gt;).</li>
@@ -719,6 +725,12 @@
   <p>A <dfn id=webvtt-cue-gt-escape>WebVTT cue gt escape</dfn> is the four character string
   "<code title="">&amp;gt;</code>".</p>
 
+  <p>A <dfn id=webvtt-cue-lrm-escape>WebVTT cue lrm escape</dfn> is the five character string
+  "<code title="">&amp;lrm;</code>".</p>
+
+  <p>A <dfn id=webvtt-cue-rlm-escape>WebVTT cue rlm escape</dfn> is the five character string
+  "<code title="">&amp;rlm;</code>".</p>
+
 
 
   <div class=impl>
@@ -1715,6 +1727,12 @@
         <p>If <var title="">buffer</var> is the string "<code 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>
 
Received on Tuesday, 24 April 2012 21:25:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 24 April 2012 21:25:25 GMT