[html5] r6898 - [giow] (1) Make <wbr> less magical. Affected topics: Rendering

whatwg at whatwg.org whatwg at whatwg.org
Fri Jan 13 15:45:29 PST 2012


Author: ianh
Date: 2012-01-13 15:45:28 -0800 (Fri, 13 Jan 2012)
New Revision: 6898

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Make <wbr> less magical.
Affected topics: Rendering

Modified: complete.html
===================================================================
--- complete.html	2012-01-13 23:12:06 UTC (rev 6897)
+++ complete.html	2012-01-13 23:45:28 UTC (rev 6898)
@@ -89650,7 +89650,9 @@
 q::after { content: close-quote; }
 
 br { content: '\A'; white-space: pre; }
-nobr { white-space: nowrap; }</pre>
+nobr { white-space: nowrap; }
+wbr { content: '\200B'; }
+nobr wbr { white-space: normal; }</pre>
 
   <p>The following rules are also expected to apply, as
   <a href=#presentational-hints>presentational hints</a>:</p>
@@ -89680,10 +89682,6 @@
   described in the non-normative note to this effect in CSS2.1.</p>
   <!-- section 9.5.2 of CSS2.1 -->
 
-  <p>The <code><a href=#the-wbr-element>wbr</a></code> element is expected to override the
-  'white-space' property and always provide a line-breaking
-  opportunity.</p>
-
   <p>The initial value for the 'color' property is expected to be
   black. The initial value for the 'background-color' property is
   expected to be 'transparent'. The canvas' background is expected to

Modified: index
===================================================================
--- index	2012-01-13 23:12:06 UTC (rev 6897)
+++ index	2012-01-13 23:45:28 UTC (rev 6898)
@@ -89650,7 +89650,9 @@
 q::after { content: close-quote; }
 
 br { content: '\A'; white-space: pre; }
-nobr { white-space: nowrap; }</pre>
+nobr { white-space: nowrap; }
+wbr { content: '\200B'; }
+nobr wbr { white-space: normal; }</pre>
 
   <p>The following rules are also expected to apply, as
   <a href=#presentational-hints>presentational hints</a>:</p>
@@ -89680,10 +89682,6 @@
   described in the non-normative note to this effect in CSS2.1.</p>
   <!-- section 9.5.2 of CSS2.1 -->
 
-  <p>The <code><a href=#the-wbr-element>wbr</a></code> element is expected to override the
-  'white-space' property and always provide a line-breaking
-  opportunity.</p>
-
   <p>The initial value for the 'color' property is expected to be
   black. The initial value for the 'background-color' property is
   expected to be 'transparent'. The canvas' background is expected to

Modified: source
===================================================================
--- source	2012-01-13 23:12:06 UTC (rev 6897)
+++ source	2012-01-13 23:45:28 UTC (rev 6898)
@@ -103791,7 +103791,9 @@
 q::after { content: close-quote; }
 
 br { content: '\A'; white-space: pre; }
-nobr { white-space: nowrap; }</pre>
+nobr { white-space: nowrap; }
+wbr { content: '\200B'; }
+nobr wbr { white-space: normal; }</pre>
 
   <p>The following rules are also expected to apply, as
   <span>presentational hints</span>:</p>
@@ -103825,10 +103827,6 @@
   described in the non-normative note to this effect in CSS2.1.</p>
   <!-- section 9.5.2 of CSS2.1 -->
 
-  <p>The <code>wbr</code> element is expected to override the
-  'white-space' property and always provide a line-breaking
-  opportunity.</p>
-
   <p>The initial value for the 'color' property is expected to be
   black. The initial value for the 'background-color' property is
   expected to be 'transparent'. The canvas' background is expected to




More information about the Commit-Watchers mailing list