[html5] r1443 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 14 18:32:44 PDT 2008


Author: ianh
Date: 2008-04-14 18:32:43 -0700 (Mon, 14 Apr 2008)
New Revision: 1443

Modified:
   index
   source
Log:
[e] (0) Mention the use of classes with <i>.

Modified: index
===================================================================
--- index	2008-04-15 01:26:58 UTC (rev 1442)
+++ index	2008-04-15 01:32:43 UTC (rev 1443)
@@ -12338,7 +12338,7 @@
    <p>The examples below show uses of the <code><a href="#i">i</a></code>
     element:</p>
 
-   <pre><p>The <i>Felis silvestris catus</i> is cute.</p>
+   <pre><p>The <i class="taxonomy">Felis silvestris catus</i> is cute.</p>
 <p>The term <i>prose content</i> is defined above.</p>
 <p>There is a certain <i lang="fr">je ne sais quoi</i> in the air.</p></pre>
 
@@ -12365,6 +12365,14 @@
    the <code><a href="#q">q</a></code> element, and small print should use
    the <code><a href="#small">small</a></code> element.
 
+  <p>Authors are encouraged to use the <code title=attr-class><a
+   href="#class">class</a></code> attribute on the <code><a
+   href="#i">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 class=note>Style sheets can be used to format <code><a
    href="#i">i</a></code> elements, just like any other element can be
    restyled. Thus, it is not the case that content in <code><a

Modified: source
===================================================================
--- source	2008-04-15 01:26:58 UTC (rev 1442)
+++ source	2008-04-15 01:32:43 UTC (rev 1443)
@@ -10352,7 +10352,7 @@
 
   <div class="example">
    <p>The examples below show uses of the <code>i</code> element:</p>
-   <pre><p>The <i>Felis silvestris catus</i> is cute.</p>
+   <pre><p>The <i class="taxonomy">Felis silvestris catus</i> is cute.</p>
 <p>The term <i>prose content</i> is defined above.</p>
 <p>There is a certain <i lang="fr">je ne sais quoi</i> in the air.</p></pre>
    <p>In the following example, a dream sequence is marked up using
@@ -10376,6 +10376,14 @@
   with the <code>q</code> element, and small print should use the
   <code>small</code> element.</p>
 
+  <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.</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
   not the case that content in <code>i</code> elements will




More information about the Commit-Watchers mailing list