[html5] r8332 - [e] (0) Clarify bidi CSS rules interaction Affected topics: Rendering

whatwg at whatwg.org whatwg at whatwg.org
Thu Dec 5 10:37:36 PST 2013


Author: ianh
Date: 2013-12-05 10:37:34 -0800 (Thu, 05 Dec 2013)
New Revision: 8332

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clarify bidi CSS rules interaction
Affected topics: Rendering

Modified: complete.html
===================================================================
--- complete.html	2013-12-04 19:02:24 UTC (rev 8331)
+++ complete.html	2013-12-05 18:37:34 UTC (rev 8332)
@@ -298,7 +298,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 4 December 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 5 December 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -1376,7 +1376,7 @@
      <li><a href=#the-page><span class=secno>14.3.2 </span>The page</a></li>
      <li><a href=#flow-content-1><span class=secno>14.3.3 </span>Flow content</a></li>
      <li><a href=#phrasing-content-1><span class=secno>14.3.4 </span>Phrasing content</a></li>
-     <li><a href=#bidirectional-text><span class=secno>14.3.5 </span>Bidirectional text</a></li>
+     <li><a href=#bidi-rendering><span class=secno>14.3.5 </span>Bidirectional text</a></li>
      <li><a href=#quotes><span class=secno>14.3.6 </span>Quotes</a></li>
      <li><a href=#sections-and-headings><span class=secno>14.3.7 </span>Sections and headings</a></li>
      <li><a href=#lists><span class=secno>14.3.8 </span>Lists</a></li>
@@ -93557,10 +93557,10 @@
 q::before { content: open-quote; }
 q::after { content: close-quote; }
 
-br { content: '\A'; white-space: pre; }
+<span id=br-wbr-content title="">br { content: '\A'; white-space: pre; } /* <a href=#bidi-rendering>this also has bidi implications</a> */
 nobr { white-space: nowrap; }
-wbr { content: '\200B'; }
-nobr wbr { white-space: normal; }</pre>
+wbr { content: '\200B'; } /* <a href=#bidi-rendering>this also has bidi implications</a> */
+nobr wbr { white-space: normal; }</span></pre>
 
   <p>The following rules are also expected to apply, as
   <a href=#presentational-hints>presentational hints</a>:</p>
@@ -93693,7 +93693,7 @@
 
    </li>
 
-  </ol><h4 id=bidirectional-text><span class=secno>14.3.5 </span>Bidirectional text</h4>
+  </ol><h4 id=bidi-rendering><span class=secno>14.3.5 </span>Bidirectional text</h4>
 
   <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
 
@@ -93710,8 +93710,10 @@
 
 bdo, bdo[dir] { unicode-bidi: isolate-override; } <!-- bdo[dir] rule is to override the otherwise higher-specificity attribute selectors in the previous rule -->
 
-textarea[dir=auto i], pre[dir=auto i] { unicode-bidi: plaintext; }</pre>
+textarea[dir=auto i], pre[dir=auto i] { unicode-bidi: plaintext; }
 
+/* the <a href=#br-wbr-content>rules setting the 'content' property</a> on <code><a href=#the-br-element>br</a></code> and <code><a href=#the-wbr-element>wbr</a></code> elements also has bidi implications */</pre>
+
   <p>Input fields (i.e. <code><a href=#the-textarea-element>textarea</a></code> elements, and <code><a href=#the-input-element>input</a></code> elements when their
   <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a>, <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a>,
   <a href="#telephone-state-(type=tel)" title=attr-input-type-tel>Telephone</a>, <a href="#url-state-(type=url)" title=attr-input-type-url>URL</a>,

Modified: index
===================================================================
--- index	2013-12-04 19:02:24 UTC (rev 8331)
+++ index	2013-12-05 18:37:34 UTC (rev 8332)
@@ -298,7 +298,7 @@
 
   <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 4 December 2013</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 5 December 2013</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -1376,7 +1376,7 @@
      <li><a href=#the-page><span class=secno>14.3.2 </span>The page</a></li>
      <li><a href=#flow-content-1><span class=secno>14.3.3 </span>Flow content</a></li>
      <li><a href=#phrasing-content-1><span class=secno>14.3.4 </span>Phrasing content</a></li>
-     <li><a href=#bidirectional-text><span class=secno>14.3.5 </span>Bidirectional text</a></li>
+     <li><a href=#bidi-rendering><span class=secno>14.3.5 </span>Bidirectional text</a></li>
      <li><a href=#quotes><span class=secno>14.3.6 </span>Quotes</a></li>
      <li><a href=#sections-and-headings><span class=secno>14.3.7 </span>Sections and headings</a></li>
      <li><a href=#lists><span class=secno>14.3.8 </span>Lists</a></li>
@@ -93557,10 +93557,10 @@
 q::before { content: open-quote; }
 q::after { content: close-quote; }
 
-br { content: '\A'; white-space: pre; }
+<span id=br-wbr-content title="">br { content: '\A'; white-space: pre; } /* <a href=#bidi-rendering>this also has bidi implications</a> */
 nobr { white-space: nowrap; }
-wbr { content: '\200B'; }
-nobr wbr { white-space: normal; }</pre>
+wbr { content: '\200B'; } /* <a href=#bidi-rendering>this also has bidi implications</a> */
+nobr wbr { white-space: normal; }</span></pre>
 
   <p>The following rules are also expected to apply, as
   <a href=#presentational-hints>presentational hints</a>:</p>
@@ -93693,7 +93693,7 @@
 
    </li>
 
-  </ol><h4 id=bidirectional-text><span class=secno>14.3.5 </span>Bidirectional text</h4>
+  </ol><h4 id=bidi-rendering><span class=secno>14.3.5 </span>Bidirectional text</h4>
 
   <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
 
@@ -93710,8 +93710,10 @@
 
 bdo, bdo[dir] { unicode-bidi: isolate-override; } <!-- bdo[dir] rule is to override the otherwise higher-specificity attribute selectors in the previous rule -->
 
-textarea[dir=auto i], pre[dir=auto i] { unicode-bidi: plaintext; }</pre>
+textarea[dir=auto i], pre[dir=auto i] { unicode-bidi: plaintext; }
 
+/* the <a href=#br-wbr-content>rules setting the 'content' property</a> on <code><a href=#the-br-element>br</a></code> and <code><a href=#the-wbr-element>wbr</a></code> elements also has bidi implications */</pre>
+
   <p>Input fields (i.e. <code><a href=#the-textarea-element>textarea</a></code> elements, and <code><a href=#the-input-element>input</a></code> elements when their
   <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a>, <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a>,
   <a href="#telephone-state-(type=tel)" title=attr-input-type-tel>Telephone</a>, <a href="#url-state-(type=url)" title=attr-input-type-url>URL</a>,

Modified: source
===================================================================
--- source	2013-12-04 19:02:24 UTC (rev 8331)
+++ source	2013-12-05 18:37:34 UTC (rev 8332)
@@ -104251,10 +104251,10 @@
 q::before { content: open-quote; }
 q::after { content: close-quote; }
 
-br { content: '\A'; white-space: pre; }
+<span data-x="" id="br-wbr-content">br { content: '\A'; white-space: pre; } /* <a href="#bidi-rendering">this also has bidi implications</a> */
 nobr { white-space: nowrap; }
-wbr { content: '\200B'; }
-nobr wbr { white-space: normal; }</pre>
+wbr { content: '\200B'; } /* <a href="#bidi-rendering">this also has bidi implications</a> */
+nobr wbr { white-space: normal; }</span></pre>
 
   <p>The following rules are also expected to apply, as
   <span>presentational hints</span>:</p>
@@ -104411,7 +104411,7 @@
   </ol>
 
 
-  <h4>Bidirectional text</h4>
+  <h4 id="bidi-rendering">Bidirectional text</h4>
 
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
 
@@ -104428,8 +104428,10 @@
 
 bdo, bdo[dir] { unicode-bidi: isolate-override; } <!-- bdo[dir] rule is to override the otherwise higher-specificity attribute selectors in the previous rule -->
 
-textarea[dir=auto i], pre[dir=auto i] { unicode-bidi: plaintext; }</pre>
+textarea[dir=auto i], pre[dir=auto i] { unicode-bidi: plaintext; }
 
+/* the <a href="#br-wbr-content">rules setting the 'content' property</a> on <code>br</code> and <code>wbr</code> elements also has bidi implications */</pre>
+
   <p>Input fields (i.e. <code>textarea</code> elements, and <code>input</code> elements when their
   <code data-x="attr-input-type">type</code> attribute is in the <span
   data-x="attr-input-type-text">Text</span>, <span data-x="attr-input-type-search">Search</span>,




More information about the Commit-Watchers mailing list