add some shaky text on bidi
authorAnne van Kesteren <annevk@opera.com>
Thu, 07 Jun 2012 10:05:41 +0200
changeset 4 efe6a33eaa55
parent 3 c5da31e78ede
child 5 ce7609323bc7
add some shaky text on bidi
Overview.html
Overview.src.html
--- a/Overview.html	Thu Jun 07 09:35:53 2012 +0200
+++ b/Overview.html	Thu Jun 07 10:05:41 2012 +0200
@@ -517,7 +517,35 @@
 
 <h2 id="rendering"><span class="secno">6 </span>Rendering</h2>
 
-<p class="XXX">bidi
+<p>This section is written in terms equivalent to those used in the
+Rendering section of HTML. <a href="#refsHTML">[HTML]</a>
+
+<!-- keep this in sync with
+     http://www.whatwg.org/specs/web-apps/current-work/#text-rendered-in-native-user-interfaces -->
+
+<p>User agents are expected to honor the Unicode semantics of the text of a
+<a href="#concept-notification" title="concept-notification">notification</a>'s <a href="#title">title</a>
+and <a href="#body">body</a>.
+
+<p>The directionality of a
+<a href="#concept-notification" title="concept-notification">notification</a>'s <a href="#title">title</a> is
+given by its <a href="#title-direction">title direction</a>. If that is
+"<code title="">auto</code>", the directionality is "<code title="">rtl</code>" if
+<a href="#title">title</a> contains a character of bidirectional character type AL
+or R, and there is no character of bidirectional character type L anywhere
+before it, or "<code title="">ltr</code>" otherwise.
+
+<!-- copied from HTML: -->
+<p>A <a href="#concept-notification" title="concept-notification">notification</a>'s
+<a href="#body">body</a> is expected to be treated as an independent set of one or
+more bidirectional algorithm paragraphs when displayed, as defined by the
+bidirectional algorithm, including, for instance, supporting the
+paragraph-breaking behaviour of U+000A LINE FEED (LF) characters.
+
+<p>The higher-level override of rules P2 and P3 is provided by a
+<a href="#concept-notification" title="concept-notification">notification</a>'s
+<a href="#body-direction">body direction</a>, when that is not "<code title="">auto</code>".
+<a href="#refsBIDI">[BIDI]</a>
 
 
 <h2 id="examples"><span class="secno">7 </span>Examples</h2>
@@ -608,7 +636,10 @@
 
 <h2 class="no-num" id="references">References</h2>
 
-<div id="anolis-references"><dl><dt id="refsDOM">[DOM]
+<div id="anolis-references"><dl><dt id="refsBIDI">[BIDI]
+<dd><cite><a href="http://www.unicode.org/reports/tr9/">Unicode Bidirectional Algorithm</a></cite>, Mark Davis. Unicode Consortium.
+
+<dt id="refsDOM">[DOM]
 <dd><cite><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html">DOM4</a></cite>, Anne van Kesteren, Aryeh Gregor and Ms2ger. W3C.
 
 <dt id="refsHTML">[HTML]
--- a/Overview.src.html	Thu Jun 07 09:35:53 2012 +0200
+++ b/Overview.src.html	Thu Jun 07 10:05:41 2012 +0200
@@ -495,7 +495,35 @@
 
 <h2>Rendering</h2>
 
-<p class=XXX>bidi
+<p>This section is written in terms equivalent to those used in the
+Rendering section of HTML. <span data-anolis-ref>HTML</span>
+
+<!-- keep this in sync with
+     http://www.whatwg.org/specs/web-apps/current-work/#text-rendered-in-native-user-interfaces -->
+
+<p>User agents are expected to honor the Unicode semantics of the text of a
+<span title=concept-notification>notification</span>'s <span>title</span>
+and <span>body</span>.
+
+<p>The directionality of a
+<span title=concept-notification>notification</span>'s <span>title</span> is
+given by its <span>title direction</span>. If that is
+"<code title>auto</code>", the directionality is "<code title>rtl</code>" if
+<span>title</span> contains a character of bidirectional character type AL
+or R, and there is no character of bidirectional character type L anywhere
+before it, or "<code title>ltr</code>" otherwise.
+
+<!-- copied from HTML: -->
+<p>A <span title=concept-notification>notification</span>'s
+<span>body</span> is expected to be treated as an independent set of one or
+more bidirectional algorithm paragraphs when displayed, as defined by the
+bidirectional algorithm, including, for instance, supporting the
+paragraph-breaking behaviour of U+000A LINE FEED (LF) characters.
+
+<p>The higher-level override of rules P2 and P3 is provided by a
+<span title=concept-notification>notification</span>'s
+<span>body direction</span>, when that is not "<code title>auto</code>".
+<span data-anolis-ref>BIDI</span>
 
 
 <h2>Examples</h2>