html5/spec Overview.html,1.4534,1.4535

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv13358

Modified Files:
	Overview.html 
Log Message:
Added example of select directionality issue (whatwg r5668)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4534
retrieving revision 1.4535
diff -u -d -r1.4534 -r1.4535
--- Overview.html	2 Nov 2010 19:44:14 -0000	1.4534
+++ Overview.html	3 Nov 2010 23:14:10 -0000	1.4535
@@ -65241,6 +65241,35 @@
   <code title="dom-alert"><a href="#dom-alert">window.alert()</a></code>) is expected to be
   rendered as a separate bidirectional algorithm paragraph. <a href="#refsBIDI">[BIDI]</a></p>
 
+  <div class="example">
+
+   <p>Consider the following markup, which has Hebrew text asking for
+   a programming language, the languages being text for which a
+   left-to-right direction is important given the punctuation in some
+   of their names:</p>
+
+   <pre>&lt;p dir="rtl" lang="he"&gt;
+ &lt;label&gt;
+  <span dir="rtl" lang="he" title="">&#1489;&#1495;&#1512; &#1513;&#1508;&#1514; &#1514;&#1499;&#1504;&#1493;&#1514;:</span>
+  &lt;select&gt;
+   &lt;option dir="ltr"&gt;C++&lt;/option&gt;
+   &lt;option dir="ltr"&gt;C#&lt;/option&gt;
+   &lt;option dir="ltr"&gt;FreePascal&lt;/option&gt;
+   &lt;option dir="ltr"&gt;F#&lt;/option&gt;
+  &lt;/select&gt;
+ &lt;/label&gt;
+&lt;/p&gt;</pre>
+
+   <p>If the <code><a href="#the-select-element">select</a></code> element was rendered as a drop down
+   box, a correct rendering would ensure that the punctuation was the
+   same both in the drop down, and in the box showing the current
+   selection.</p>
+
+   <p><img alt="" height="105" src="http://dev.w3.org/html5/spec/images/bidiselect.png" width="206"></p> <!-- no need for alt text, the previous paragraph
+   describes it completely -->
+
+  </div>
+
 
 
   <h3 id="print-media"><span class="secno">10.7 </span>Print media</h3>

Received on Wednesday, 3 November 2010 23:14:16 UTC