[html5] r4896 - [e] (0) Recommend use of class='' with <b>. Fixing http://www.w3.org/Bugs/Public [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Mar 29 14:48:05 PDT 2010


Author: ianh
Date: 2010-03-29 14:48:03 -0700 (Mon, 29 Mar 2010)
New Revision: 4896

Modified:
   complete.html
   index
   source
Log:
[e] (0) Recommend use of class='' with <b>.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9143

Modified: complete.html
===================================================================
--- complete.html	2010-03-29 06:07:57 UTC (rev 4895)
+++ complete.html	2010-03-29 21:48:03 UTC (rev 4896)
@@ -18279,13 +18279,19 @@
    marked up:</p>
    <pre><article>
  <h2>Kittens 'adopted' by pet rabbit</h2>
- <p><b>Six abandoned kittens have found an unexpected new
- mother figure — a pet rabbit.</b></p>
+ <p><b class="lede">Six abandoned kittens have found an
+ unexpected new mother figure — a pet rabbit.</b></p>
  <p>Veterinary nurse Melanie Humble took the three-week-old
  kittens to her Aberdeen home.</p>
 <i>[...]</i></pre>
   </div>
 
+  <p>As with the <code><a href=#the-i-element>i</a></code> element, authors are encouraged to use
+  the <code title=attr-class><a href=#classes>class</a></code> attribute on the
+  <code><a href=#the-b-element>b</a></code> element to identify why the element is being used, so
+  that if the style of a particular use is to be changed at a later
+  date, the author doesn't have to go through annotating each use.</p>
+
   <p>The <code><a href=#the-b-element>b</a></code> element should be used as a last resort when
   no other element is more appropriate. In particular, headings should
   use the <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> to <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code> elements, stress emphasis

Modified: index
===================================================================
--- index	2010-03-29 06:07:57 UTC (rev 4895)
+++ index	2010-03-29 21:48:03 UTC (rev 4896)
@@ -18177,13 +18177,19 @@
    marked up:</p>
    <pre><article>
  <h2>Kittens 'adopted' by pet rabbit</h2>
- <p><b>Six abandoned kittens have found an unexpected new
- mother figure — a pet rabbit.</b></p>
+ <p><b class="lede">Six abandoned kittens have found an
+ unexpected new mother figure — a pet rabbit.</b></p>
  <p>Veterinary nurse Melanie Humble took the three-week-old
  kittens to her Aberdeen home.</p>
 <i>[...]</i></pre>
   </div>
 
+  <p>As with the <code><a href=#the-i-element>i</a></code> element, authors are encouraged to use
+  the <code title=attr-class><a href=#classes>class</a></code> attribute on the
+  <code><a href=#the-b-element>b</a></code> element to identify why the element is being used, so
+  that if the style of a particular use is to be changed at a later
+  date, the author doesn't have to go through annotating each use.</p>
+
   <p>The <code><a href=#the-b-element>b</a></code> element should be used as a last resort when
   no other element is more appropriate. In particular, headings should
   use the <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code> to <code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h6</a></code> elements, stress emphasis

Modified: source
===================================================================
--- source	2010-03-29 06:07:57 UTC (rev 4895)
+++ source	2010-03-29 21:48:03 UTC (rev 4896)
@@ -19345,13 +19345,19 @@
    marked up:</p>
    <pre><article>
  <h2>Kittens 'adopted' by pet rabbit</h2>
- <p><b>Six abandoned kittens have found an unexpected new
- mother figure — a pet rabbit.</b></p>
+ <p><b class="lede">Six abandoned kittens have found an
+ unexpected new mother figure — a pet rabbit.</b></p>
  <p>Veterinary nurse Melanie Humble took the three-week-old
  kittens to her Aberdeen home.</p>
 <i>[...]</i></pre>
   </div>
 
+  <p>As with the <code>i</code> element, authors are encouraged to use
+  the <code title="attr-class">class</code> attribute on the
+  <code>b</code> element to identify why the element is being used, so
+  that if the style of a particular use is to be changed at a later
+  date, the author doesn't have to go through annotating each use.</p>
+
   <p>The <code>b</code> element should be used as a last resort when
   no other element is more appropriate. In particular, headings should
   use the <code>h1</code> to <code>h6</code> elements, stress emphasis




More information about the Commit-Watchers mailing list