- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 03 Nov 2010 23:14:14 +0000
- To: public-html-commits@w3.org
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><p dir="rtl" lang="he"> + <label> + <span dir="rtl" lang="he" title="">בחר שפת תכנות:</span> + <select> + <option dir="ltr">C++</option> + <option dir="ltr">C#</option> + <option dir="ltr">FreePascal</option> + <option dir="ltr">F#</option> + </select> + </label> +</p></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