Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) don't encourage use of 'class' so much
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10735

git-svn-id: http://svn.whatwg.org/webapps@5555 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 29, 2010
1 parent 0c467a9 commit 2fbd262
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 46 deletions.
31 changes: 16 additions & 15 deletions complete.html
Expand Up @@ -19415,16 +19415,18 @@ <h4 id=the-i-element><span class=secno>4.6.15 </span>The <dfn><code>i</code></df
&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>
<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>

<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>

<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
Expand Down Expand Up @@ -19480,11 +19482,10 @@ <h4 id=the-b-element><span class=secno>4.6.16 </span>The <dfn><code>b</code></df
<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>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>

<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
Expand Down
31 changes: 16 additions & 15 deletions index
Expand Up @@ -19392,16 +19392,18 @@ 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>
<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>

<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>

<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
Expand Down Expand Up @@ -19457,11 +19459,10 @@ brighter. A &lt;b&gt;rat&lt;/b&gt; scurries past the corner wall.&lt;/p&gt;</pre
<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>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>

<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
Expand Down
33 changes: 17 additions & 16 deletions source
Expand Up @@ -20699,17 +20699,18 @@ her&mdash;&lt;/i>&lt;/p>
&lt;p>Raymond woke with a start as the fire alarm rang out.&lt;/p></pre>
</div>

<p>Authors are encouraged to use the <code
title="attr-class">class</code> attribute on the <code>i</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>i</code> element, for instance the <code>em</code> element for
marking up stress emphasis, or the <code>dfn</code> element to mark
up the defining instance of a term.</p>
<p>Authors can use the <code title="attr-class">class</code>
attribute on the <code>i</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>

<p>Authors are encouraged to consider whether other elements might
be more applicable than the <code>i</code> element, for instance the
<code>em</code> element for marking up stress emphasis, or the
<code>dfn</code> element to mark up the defining instance of a
term.</p>

<p class="note">Style sheets can be used to format <code>i</code>
elements, just like any other element can be restyled. Thus, it is
Expand Down Expand Up @@ -20769,11 +20770,11 @@ brighter. A &lt;b>rat&lt;/b> scurries past the corner wall.&lt;/p></pre>
<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>As with the <code>i</code> element, authors can 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
Expand Down

0 comments on commit 2fbd262

Please sign in to comment.