[html5] r1476 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 22 02:57:27 PDT 2008


Author: ianh
Date: 2008-04-22 02:57:26 -0700 (Tue, 22 Apr 2008)
New Revision: 1476

Modified:
   header-whatwg
   index
   source
Log:
[e] (0) mark bad examples

Modified: header-whatwg
===================================================================
--- header-whatwg	2008-04-22 09:54:06 UTC (rev 1475)
+++ header-whatwg	2008-04-22 09:57:26 UTC (rev 1476)
@@ -9,6 +9,7 @@
    h4 + p + .element { margin-top: -5em; padding-top: 4em; }
    .element { background: #EEFFEE; color: black; margin: 0 0 1em -1em; padding: 0 1em 0.25em 0.75em; border-left: solid #99FF99 0.25em; -padding: 0; /* that last decl is for IE6. Try removing it, it's hilarious! */ }
    .proposal { border: blue solid; padding: 1em; }
+   .bad { color: gray; }
    table.matrix, table.matrix td { border: none; text-align: right; }
    table.matrix { margin-left: 2em; }
   </style>

Modified: index
===================================================================
--- index	2008-04-22 09:54:06 UTC (rev 1475)
+++ index	2008-04-22 09:57:26 UTC (rev 1476)
@@ -11,6 +11,7 @@
    h4 + p + .element { margin-top: -5em; padding-top: 4em; }
    .element { background: #EEFFEE; color: black; margin: 0 0 1em -1em; padding: 0 1em 0.25em 0.75em; border-left: solid #99FF99 0.25em; -padding: 0; /* that last decl is for IE6. Try removing it, it's hilarious! */ }
    .proposal { border: blue solid; padding: 1em; }
+   .bad { color: gray; }
    table.matrix, table.matrix td { border: none; text-align: right; }
    table.matrix { margin-left: 2em; }
   </style>
@@ -10708,7 +10709,8 @@
     href="#cite2">cite</a></code> element here is containing far more than
     the title of the work:</p>
 
-   <pre><!-- do not copy this example, it is an example of bad usage! -->
+   <pre
+    class=bad><!-- do not copy this example, it is an example of bad usage! -->
 <p>According to <cite>the Wikipedia article on HTML</cite>, as it
 stood in mid-February 2008, leaving attribute values unquoted is
 unsafe. This is obviously an over-simplification.</p></pre>
@@ -11729,7 +11731,8 @@
     doesn't give a range (and since the default maximum is 1, both of the
     gauges would end up looking maxed out):</p>
 
-   <pre><p>The grapefruit pie had a radius of <meter>12cm</meter>
+   <pre
+    class=bad><p>The grapefruit pie had a radius of <meter>12cm</meter>
 and a height of <meter>2cm</meter>.</p> <!-- <strong>BAD!</strong> --></pre>
 
    <p>Instead, one would either not include the meter element, or use the
@@ -13159,7 +13162,7 @@
       the image isn't shown, the text doesn't flow as well as in the first
       example.</p>
 
-     <pre><!-- <em>This is the wrong way to do things.</em> -->
+     <pre class=bad><!-- <em>This is the wrong way to do things.</em> -->
 <p>
  You are standing in an open field west of a house.
  <img src="house.jpeg" alt="A white house, with a boarded front door.">
@@ -13433,7 +13436,7 @@
 
      <p>Note that the following would be a very bad use of alternative text:</p>
 
-     <pre><!-- This example is wrong. Do not copy it. -->
+     <pre class=bad><!-- This example is wrong. Do not copy it. -->
 <figure>
  <img src="/commons/a/a7/Rorschach1.jpg" alt="A black outline
  of the first of the ten cards in the Rorschach inkblot test.">

Modified: source
===================================================================
--- source	2008-04-22 09:54:06 UTC (rev 1475)
+++ source	2008-04-22 09:57:26 UTC (rev 1476)
@@ -8867,7 +8867,7 @@
    <code>cite</code> element here is containing far more than the
    title of the work:</p>
 
-   <pre><!-- do not copy this example, it is an example of bad usage! -->
+   <pre class="bad"><!-- do not copy this example, it is an example of bad usage! -->
 <p>According to <cite>the Wikipedia article on HTML</cite>, as it
 stood in mid-February 2008, leaving attribute values unquoted is
 unsafe. This is obviously an over-simplification.</p></pre>
@@ -9812,7 +9812,7 @@
    it doesn't give a range (and since the default maximum is 1, both
    of the gauges would end up looking maxed out):</p>
 
-   <pre><p>The grapefruit pie had a radius of <meter>12cm</meter>
+   <pre class="bad"><p>The grapefruit pie had a radius of <meter>12cm</meter>
 and a height of <meter>2cm</meter>.</p> <!-- <strong>BAD!</strong> --></pre>
 
    <p>Instead, one would either not include the meter element, or use
@@ -11127,7 +11127,7 @@
      because when the image isn't shown, the text doesn't flow as well
      as in the first example.</p>
 
-     <pre><!-- <em>This is the wrong way to do things.</em> -->
+     <pre class="bad"><!-- <em>This is the wrong way to do things.</em> -->
 <p>
  You are standing in an open field west of a house.
  <img src="house.jpeg" alt="A white house, with a boarded front door.">
@@ -11438,7 +11438,7 @@
      <p>Note that the following would be a very bad use of alternative
      text:</p>
 
-     <pre><!-- This example is wrong. Do not copy it. -->
+     <pre class="bad"><!-- This example is wrong. Do not copy it. -->
 <figure>
  <img src="/commons/a/a7/Rorschach1.jpg" alt="A black outline
  of the first of the ten cards in the Rorschach inkblot test.">




More information about the Commit-Watchers mailing list