simon: drop class="example" and remove a note

simon: drop class="example" and remove a note

http://dev.w3.org/cvsweb/html5/html4-differences/Overview.html?r1=1.156&r2=1.157&f=h

===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.html,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -d -r1.156 -r1.157
--- Overview.html 19 May 2011 11:53:18 -0000 1.156
+++ Overview.html 19 May 2011 11:58:58 -0000 1.157
@@ -5,7 +5,6 @@
   <title>HTML5 differences from HTML4</title>
 
   <style type="text/css">
-      div.example { border-left:double }
       .note { margin-left:2em; font-weight:bold; font-style:italic; color:green }
       p.note::before { content:"Note: " }
       dfn { font-style:normal; font-weight:bold }
@@ -349,7 +348,7 @@
    <code>text/html</code> media type. Here is an example document that
    conforms to the HTML syntax:
 
-  <pre class=example><code>&lt;!doctype html>
+  <pre><code>&lt;!doctype html>
 &lt;html>
   &lt;head>
     &lt;meta charset="UTF-8">
@@ -375,7 +374,7 @@
    Note that XML documents must be served with an XML media type such as
    <code>application/xhtml+xml</code> or <code>application/xml</code>.
 
-  <pre class=example><code>&lt;?xml version="1.0" encoding="UTF-8"?>
+  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?>
 &lt;html xmlns="http://www.w3.org/1999/xhtml">
   &lt;head>
     &lt;title>Example document&lt;/title>
@@ -430,7 +429,7 @@
    inside a document. E.g. a very simple document using some of the minimal
    syntax features could look like:
 
-  <pre class=example><code>&lt;!doctype html>
+  <pre><code>&lt;!doctype html>
 &lt;title>SVG in text/html&lt;/title>
 &lt;p>
  A green circle:
@@ -460,10 +459,6 @@
 
   <h3 id=new-elements><span class=secno>3.1. </span>New Elements</h3>
 
-  <p class=note>The links in this section may stop working if elements are
-   renamed and/or removed. They should function in the latest version of this
-   draft.
-
   <p>The following elements have been introduced for better structure:
 
   <ul>
@@ -516,7 +511,7 @@
      represents a piece of self-contained flow content, typically referenced
      as a single unit from the main flow of the document.</p>
 
-    <pre class=example><code>&lt;figure>
+    <pre><code>&lt;figure>
  &lt;video src="example.webm" controls>&lt;/video>
  &lt;figcaption>Example&lt;/figcaption>
 &lt;/figure></code></pre>
@@ -618,7 +613,7 @@
      together with the a new <code>list</code> attribute for
      <code>input</code> can be used to make comboboxes:</p>
 
-    <pre class=example><code>&lt;input <strong>list="browsers"</strong>>
+    <pre><code>&lt;input <strong>list="browsers"</strong>>
 &lt;datalist <strong>id="browsers"</strong>>
  &lt;option value="Safari">
  &lt;option value="Internet Explorer">
@@ -742,8 +737,7 @@
      <code>input</code> and <code>textarea</code> elements. It represents a
      hint intended to aid the user with data entry.</p>
 
-    <pre
-     class=example><code>&lt;input type=email <strong>placeholder="a@b.com"</strong>></code></pre>
+    <pre><code>&lt;input type=email <strong>placeholder="a@b.com"</strong>></code></pre>
 
    <li>
     <p>The new <code>form</code> attribute for <code>input</code>,
@@ -754,7 +748,7 @@
      descendants of the <code>form</code> element, and still be associated
      with a <code>form</code>.</p>
 
-    <pre class=example><code>&lt;label>Email:
+    <pre><code>&lt;label>Email:
  &lt;input type=email <strong>form=foo</strong> name=email>
 &lt;/label>
 &lt;form <strong>id=test</strong>>&lt;/form></code></pre>
@@ -768,8 +762,7 @@
      <code>select</code>, the first <code>option</code> element has to be a
      placeholder with an empty value.
 
-    <pre
-     class=example><code>&lt;label>Color: &lt;select name=color <strong>required</strong>>
+    <pre><code>&lt;label>Color: &lt;select name=color <strong>required</strong>>
  &lt;option <strong>value=""</strong>>Choose one
  &lt;option>Red
  &lt;option>Green

Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.src.html,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- Overview.src.html 19 May 2011 11:53:17 -0000 1.133
+++ Overview.src.html 19 May 2011 11:58:58 -0000 1.134
@@ -3,7 +3,6 @@
   <head>
     <title>HTML5 differences from HTML4</title>
     <style type="text/css">
-      div.example { border-left:double }
       .note { margin-left:2em; font-weight:bold; font-style:italic; color:green }
       p.note::before { content:"Note: " }
       dfn { font-style:normal; font-weight:bold }
@@ -231,7 +230,7 @@
     have the <code>text/html</code> media type. Here is an example document
     that conforms to the HTML syntax:</p>
 
-    <pre class="example"><code>&lt;!doctype html>
+    <pre><code>&lt;!doctype html>
 &lt;html>
   &lt;head>
     &lt;meta charset="UTF-8">
@@ -258,7 +257,7 @@
     such as <code>application/xhtml+xml</code> or
     <code>application/xml</code>.</p>
 
-    <pre class="example"><code>&lt;?xml version="1.0" encoding="UTF-8"?>
+    <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?>
 &lt;html xmlns="http://www.w3.org/1999/xhtml">
   &lt;head>
     &lt;title>Example document&lt;/title>
@@ -316,7 +315,7 @@
     be used inside a document. E.g. a very simple document using some of the
     minimal syntax features could look like:</p>
 
-    <pre class="example"><code>&lt;!doctype html>
+    <pre><code>&lt;!doctype html>
 &lt;title>SVG in text/html&lt;/title>
 &lt;p>
  A green circle:
@@ -351,10 +350,6 @@
 
     <h3 id="new-elements">New Elements</h3>
 
-    <p class="note">The links in this section may stop working if elements
-    are renamed and/or removed. They should function in the latest version
-    of this draft.</p>
-
     <p>The following elements have been introduced for better structure:</p>
 
     <ul>
@@ -391,7 +386,7 @@
         represents a piece of self-contained flow content, typically
         referenced as a single unit from the main flow of the document.</p>
 
-        <pre class="example"><code>&lt;figure>
+        <pre><code>&lt;figure>
  &lt;video src="example.webm" controls>&lt;/video>
  &lt;figcaption>Example&lt;/figcaption>
 &lt;/figure></code></pre>
@@ -465,7 +460,7 @@
         together with the a new <code>list</code> attribute for
         <code>input</code> can be used to make comboboxes:</p>
 
-        <pre class="example"><code>&lt;input <strong>list="browsers"</strong>>
+        <pre><code>&lt;input <strong>list="browsers"</strong>>
 &lt;datalist <strong>id="browsers"</strong>>
  &lt;option value="Safari">
  &lt;option value="Internet Explorer">
@@ -555,7 +550,7 @@
        <p>A new <code>placeholder</code> attribute can be specified on
       the <code>input</code> and <code>textarea</code> elements. It
       represents a hint intended to aid the user with data entry.</p>
-       <pre class="example"><code>&lt;input type=email <strong>placeholder="a@b.com"</strong>></code></pre>
+       <pre><code>&lt;input type=email <strong>placeholder="a@b.com"</strong>></code></pre>
       </li>
 
       <li>
@@ -566,7 +561,7 @@
        placed anywhere on a page, not just as descendants of the
        <code>form</code> element, and still be associated with a <code>form</code>.</p>
 
-       <pre class="example"><code>&lt;label>Email:
+       <pre><code>&lt;label>Email:
  &lt;input type=email <strong>form=foo</strong> name=email>
 &lt;/label>
 &lt;form <strong>id=test</strong>>&lt;/form></code></pre>
@@ -579,7 +574,7 @@
       <code>submit</code>), <code>select</code> and <code>textarea</code>. It indicates that the user
       has to fill in a value in order to submit the form. For <code>select</code>, the first <code>option</code> element has to be a placeholder with an empty value.
       
-      <pre class="example"><code>&lt;label>Color: &lt;select name=color <strong>required</strong>>
+      <pre><code>&lt;label>Color: &lt;select name=color <strong>required</strong>>
  &lt;option <strong>value=""</strong>>Choose one
  &lt;option>Red
  &lt;option>Green

Received on Thursday, 19 May 2011 12:01:39 UTC