[html5] r5668 - / images

whatwg at whatwg.org whatwg at whatwg.org
Wed Nov 3 16:14:06 PDT 2010


Author: ianh
Date: 2010-11-03 16:14:05 -0700 (Wed, 03 Nov 2010)
New Revision: 5668

Added:
   images/bidiselect.png
Modified:
   complete.html
   index
   source
Log:
[e] (0) Added example of select directionality issue
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10821

Modified: complete.html
===================================================================
--- complete.html	2010-11-02 19:44:08 UTC (rev 5667)
+++ complete.html	2010-11-03 23:14:05 UTC (rev 5668)
@@ -214,7 +214,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 2 November 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 3 November 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -86451,8 +86451,37 @@
   <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://images.whatwg.org/bidiselect.png width=206></p> <!-- no need for alt text, the previous paragraph
+   describes it completely -->
+
+  </div>
+
+
+
   <h3 id=print-media><span class=secno>14.7 </span>Print media</h3>
 
   <p>User agents are expected to allow the user to request the

Added: images/bidiselect.png
===================================================================
(Binary files differ)


Property changes on: images/bidiselect.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: index
===================================================================
--- index	2010-11-02 19:44:08 UTC (rev 5667)
+++ index	2010-11-03 23:14:05 UTC (rev 5668)
@@ -218,7 +218,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>HTML5 (including next generation additions still in development)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 2 November 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 3 November 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -82365,8 +82365,37 @@
   <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://images.whatwg.org/bidiselect.png width=206></p> <!-- no need for alt text, the previous paragraph
+   describes it completely -->
+
+  </div>
+
+
+
   <h3 id=print-media><span class=secno>12.7 </span>Print media</h3>
 
   <p>User agents are expected to allow the user to request the

Modified: source
===================================================================
--- source	2010-11-02 19:44:08 UTC (rev 5667)
+++ source	2010-11-03 23:14:05 UTC (rev 5668)
@@ -99088,8 +99088,38 @@
   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 title="" dir="rtl" lang="he">&#x5d1;&#x5d7;&#x5e8; &#x5e9;&#x5e4;&#x5ea; &#x5ea;&#x5db;&#x5e0;&#x5d5;&#x5ea;:</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>select</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 src="images/bidiselect.png" width="206" height="105"
+   alt=""></p> <!-- no need for alt text, the previous paragraph
+   describes it completely -->
+
+  </div>
+
+
+
   <h3>Print media</h3>
 
   <p>User agents are expected to allow the user to request the




More information about the Commit-Watchers mailing list