W3C home > Mailing lists > Public > public-html-diffs@w3.org > September 2010

hixie: don't encourage use of 'class' so much (whatwg r5555)

From: poot <cvsmail@w3.org>
Date: Wed, 29 Sep 2010 16:57:04 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100929075704.C4DA72BC7D@toro.w3.mag.keio.ac.jp>
hixie: don't encourage use of 'class' so much (whatwg r5555)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4437&r2=1.4438&f=h
http://html5.org/tools/web-apps-tracker?from=5554&to=5555

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4437
retrieving revision 1.4438
diff -u -d -r1.4437 -r1.4438
--- Overview.html	29 Sep 2010 07:31:43 -0000	1.4437
+++ Overview.html	29 Sep 2010 07:56:47 -0000	1.4438
@@ -16775,16 +16775,16 @@
 &lt;p&gt;&lt;i&gt;Finally one night he picked up the courage to speak with
 her&mdash;&lt;/i&gt;&lt;/p&gt;
 &lt;p&gt;Raymond woke with a start as the fire alarm rang out.&lt;/p&gt;</pre>
-  </div><p>Authors are encouraged to use the <code title="attr-class"><a href="#classes">class</a></code> attribute on the <code><a href="#the-i-element">i</a></code>
-  element to identify why the element is being used, so that if the
-  style of a particular use (e.g. dream sequences as opposed to
-  taxonomic terms) is to be changed at a later date, the author
-  doesn't have to go through the entire document (or series of related
-  documents) annotating each use. Similarly, authors are encouraged to
-  consider whether other elements might be more applicable than the
-  <code><a href="#the-i-element">i</a></code> element, for instance the <code><a href="#the-em-element">em</a></code> element for
-  marking up stress emphasis, or the <code><a href="#the-dfn-element">dfn</a></code> element to mark
-  up the defining instance of a term.<p class="note">Style sheets can be used to format <code><a href="#the-i-element">i</a></code>
+  </div><p>Authors can use the <code title="attr-class"><a href="#classes">class</a></code>
+  attribute on the <code><a href="#the-i-element">i</a></code> element to identify why the element
+  is being used, so that if the style of a particular use (e.g. dream
+  sequences as opposed to taxonomic terms) is to be changed at a later
+  date, the author doesn't have to go through the entire document (or
+  series of related documents) annotating each use.<p>Authors are encouraged to consider whether other elements might
+  be more applicable than the <code><a href="#the-i-element">i</a></code> element, for instance the
+  <code><a href="#the-em-element">em</a></code> element for marking up stress emphasis, or the
+  <code><a href="#the-dfn-element">dfn</a></code> element to mark up the defining instance of a
+  term.<p class="note">Style sheets can be used to format <code><a href="#the-i-element">i</a></code>
   elements, just like any other element can be restyled. Thus, it is
   not the case that content in <code><a href="#the-i-element">i</a></code> elements will
   necessarily be italicized.<h4 id="the-b-element"><span class="secno">4.6.16 </span>The <dfn><code>b</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
@@ -16825,11 +16825,10 @@
  &lt;p&gt;Veterinary nurse Melanie Humble took the three-week-old
  kittens to her Aberdeen home.&lt;/p&gt;
 <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>The <code><a href="#the-b-element">b</a></code> element should be used as a last resort when
+  </div><p>As with the <code><a href="#the-i-element">i</a></code> element, authors can 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>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
   should use the <code><a href="#the-em-element">em</a></code> element, importance should be denoted
Received on Wednesday, 29 September 2010 07:58:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:09:10 UTC