annevk: add a section on attributes that are 'changed'; mention processing instructions as SGML feature; mention microdata attributes

annevk: add a section on attributes that are 'changed'; mention
processing instructions as SGML feature; mention microdata attributes

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

===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.html,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- Overview.html 30 Jul 2009 15:58:06 -0000 1.70
+++ Overview.html 31 Jul 2009 13:24:01 -0000 1.71
@@ -20,13 +20,13 @@
 
    <h1 id=html5-diff>HTML&nbsp;5 differences from HTML&nbsp;4</h1>
 
-   <h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 30 July 2009</h2>
+   <h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 31 July 2009</h2>
 
    <dl>
     <dt>This Version:
 
     <dd><a
-     href="http://www.w3.org/TR/2009/ED-html5-diff-20090730/">http://www.w3.org/TR/2009/ED-html5-diff-20090730/</a>
+     href="http://www.w3.org/TR/2009/ED-html5-diff-20090731/">http://www.w3.org/TR/2009/ED-html5-diff-20090731/</a>
 
     <dt>Latest Published Version:
 
@@ -93,7 +93,7 @@
    can be found in the <a href="http://www.w3.org/TR/">W3C technical reports
    index</a> at http://www.w3.org/TR/.</em>
 
-  <p>This is the 30 July 2009 Editor's Draft produced by the <a
+  <p>This is the 31 July 2009 Editor's Draft produced by the <a
    href="http://www.w3.org/html/wg/">HTML Working Group</a>, part of the <a
    href="http://www.w3.org/MarkUp/Activity">HTML Activity</a>. The Working
    Group intends to publish this document as a <a
@@ -168,10 +168,13 @@
      <li><a href="#changed-elements"><span class=secno>3.3 </span>Changed
       Elements</a>
 
-     <li><a href="#absent-elements"><span class=secno>3.4 </span>Absent
+     <li><a href="#changed-attributes"><span class=secno>3.4 </span>Changed
+      attributes</a>
+
+     <li><a href="#absent-elements"><span class=secno>3.5 </span>Absent
       Elements</a>
 
-     <li><a href="#absent-attributes"><span class=secno>3.5 </span>Absent
+     <li><a href="#absent-attributes"><span class=secno>3.6 </span>Absent
       Attributes</a>
     </ul>
 
@@ -352,8 +355,9 @@
   <p>HTML&nbsp;5 defines an HTML syntax that is compatible with HTML&nbsp;4
    and XHTML&nbsp;1 documents published on the Web, but is not compatible
    with the more esoteric SGML features of HTML&nbsp;4, such as the NET
-   syntax (i.e. <code>&lt;em/content/</code>). Documents using the HTML
-   syntax must be served with the <code>text/html</code> media type.
+   syntax (i.e. <code>&lt;em/content/</code>) and processing instructions.
+   Documents using the HTML syntax must be served with the
+   <code>text/html</code> media type.
 
   <p>HTML&nbsp;5 also defines detailed parsing rules (including "error
    handling") for this syntax which are largely compatible with popular
@@ -807,6 +811,10 @@
    <li>The <code>hidden</code> attribute indicates that an element is not
     yet, or is no longer, relevant.
 
+   <li>The <code>item</code>, <code>itemprop</code>, and <code>subject</code>
+    attributes can be used to annotate content with specific machine-readable
+    labels. This feature is called Microdata in the HTML&nbsp;5 draft.
+
    <li>The <code>spellcheck</code> attribute allows for hinting whether
     content can be checked for spelling or not.
   </ul>
@@ -870,7 +878,33 @@
      strong emphasis.
   </ul>
 
-  <h3 id=absent-elements><span class=secno>3.4 </span>Absent Elements</h3>
+  <h3 id=changed-attributes><span class=secno>3.4 </span>Changed attributes</h3>
+
+  <p>The following attributes are allowed but authors are strongly encouraged
+   to not use them and instead use an alternative solution:
+
+  <ul>
+   <li>
+    <p>The <code>border</code> attribute on <code>img</code>. It is required
+     to have the value "<code>0</code>" when present. Authors can use CSS
+     instead.
+
+   <li>
+    <p>The <code>language</code> attribute on <code>script</code>. It is
+     required to have the value "<code>JavaScript</code>" (case-insensitive)
+     when present and cannot conflict with the <code>type</code> attribute.
+     Authors can simply omit it as it has no useful function.
+
+   <li>
+    <p>The <code>name</code> attribute on <code>a</code>. Authors can use the
+     <code>id</code> attribute instead.
+
+   <li>
+    <p>The <code>summary</code> attribute on <code>table</code>. The
+     HTML&nbsp;5 draft defines several alternative solutions.
+  </ul>
+
+  <h3 id=absent-elements><span class=secno>3.5 </span>Absent Elements</h3>
 
   <p>The elements in this section are not to be used by authors. User agents
    will still have to support them and various sections in HTML&nbsp;5 define
@@ -929,7 +963,7 @@
    It is not included in the XML syntax as its usage relies on an HTML
    parser.
 
-  <h3 id=absent-attributes><span class=secno>3.5 </span>Absent Attributes</h3>
+  <h3 id=absent-attributes><span class=secno>3.6 </span>Absent Attributes</h3>
 
   <p>Some attributes from HTML&nbsp;4 are no longer allowed in HTML&nbsp;5.
    If they need to have any impact on user agents for compatibility reasons
@@ -957,8 +991,8 @@
 
    <li><code>version</code> attribute on <code>html</code>.
 
-   <li><code>name</code> attribute on <code>img</code> and <code>a</code>
-    (use <code>id</code> instead).
+   <li><code>name</code> attribute on <code>img</code> (use <code>id</code>
+    instead).
 
    <li><code>scheme</code> attribute on <code>meta</code>.
 
@@ -969,10 +1003,6 @@
    <li><code>valuetype</code> and <code>type</code> attributes on
     <code>param</code>.
 
-   <li><code>language</code> attribute on <code>script</code>.
-
-   <li><code>summary</code> attribute on <code>table</code>.
-
    <li><code>axis</code> and <code>abbr</code> attributes on <code>td</code>
     and <code>th</code>.
 
@@ -1000,8 +1030,8 @@
    <li><code>bgcolor</code> attribute on <code>table</code>, <code>tr</code>,
     <code>td</code>, <code>th</code> and <code>body</code>.
 
-   <li><code>border</code> attribute on <code>table</code>, <code>img</code>
-    and <code>object</code>.
+   <li><code>border</code> attribute on <code>table</code> and
+    <code>object</code>.
 
    <li><code>cellpadding</code> and <code>cellspacing</code> attributes on
     <code>table</code>.
@@ -1217,12 +1247,10 @@
     <code>cite</code> attribute.
 
    <li>A new feature called Microdata has been introduced which allows people
-    to embed custom data structures in their HTML documents.</li>
-   <!-- XXX -->
+    to embed custom data structures in their HTML documents.
 
    <li>Using the Microdata model three predefined vocabularies have also been
-    included: vCard, vEvent, and a model for licensing.</li>
-   <!-- XXX -->
+    included: vCard, vEvent, and a model for licensing.
 
    <li>Drag and drop has been updated to work with the Microdata model.
 

Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.src.html,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- Overview.src.html 30 Jul 2009 15:58:06 -0000 1.48
+++ Overview.src.html 31 Jul 2009 13:24:01 -0000 1.49
@@ -263,9 +263,9 @@
     <p>HTML&nbsp;5 defines an HTML syntax that is
     compatible with HTML&nbsp;4 and XHTML&nbsp;1 documents published on the
     Web, but is not compatible with the more esoteric SGML features of
-    HTML&nbsp;4, such as the NET syntax (i.e. <code>&lt;em/content/</code>).
-    Documents using the HTML syntax must be served with the
-    <code>text/html</code> media type.</p>
+    HTML&nbsp;4, such as the NET syntax (i.e. <code>&lt;em/content/</code>)
+    and processing instructions. Documents using the HTML syntax must be
+    served with the <code>text/html</code> media type.</p>
 
     <p>HTML&nbsp;5 also defines detailed parsing rules (including "error
     handling") for this syntax which are largely compatible with popular
@@ -696,6 +696,11 @@
       <li>The <code>hidden</code> attribute indicates that an element is not
       yet, or is no longer, relevant.
       
+      <li>The <code>item</code>, <code>itemprop</code>, and
+      <code>subject</code> attributes can be used to annotate content with
+      specific machine-readable labels. This feature is called Microdata in
+      the HTML&nbsp;5 draft.</li>
+      
       <li>The <code>spellcheck</code> attribute allows for hinting whether
       content can be checked for spelling or not.
 
@@ -753,6 +758,30 @@
     </ul>
 
 
+    <h3 id="changed-attributes">Changed attributes</h3>
+    
+    <p>The following attributes are allowed but authors are strongly
+    encouraged to not use them and instead use an alternative solution:</p>
+    
+    <ul>
+     <li><p>The <code>border</code> attribute on <code>img</code>. It is
+     required to have the value "<code>0</code>" when present. Authors can
+     use CSS instead.</p></li>
+
+     <li><p>The <code>language</code> attribute on <code>script</code>. It
+     is required to have the value "<code>JavaScript</code>"
+     (case-insensitive) when present and cannot conflict with the
+     <code>type</code> attribute. Authors can simply omit it as it has no
+     useful function.</p></li>
+     
+     <li><p>The <code>name</code> attribute on <code>a</code>. Authors can
+     use the <code>id</code> attribute instead.</p></li>
+
+     <li><p>The <code>summary</code> attribute on <code>table</code>. The
+     HTML&nbsp;5 draft defines several alternative solutions.</p></li>
+    </ul>
+
+
     <h3 id="absent-elements">Absent Elements</h3>
 
     <p>The elements in this section are not to be used by authors. User
@@ -844,7 +873,7 @@
 
       <li><code>version</code> attribute on <code>html</code>.
 
-      <li><code>name</code> attribute on <code>img</code> and <code>a</code>
+      <li><code>name</code> attribute on <code>img</code>
       (use <code>id</code> instead).
 
       <li><code>scheme</code> attribute on <code>meta</code>.
@@ -856,10 +885,6 @@
       <li><code>valuetype</code> and <code>type</code> attributes on
       <code>param</code>.
 
-      <li><code>language</code> attribute on <code>script</code>.
-
-      <li><code>summary</code> attribute on <code>table</code>.
-
       <li><code>axis</code> and <code>abbr</code>
       attributes on <code>td</code> and <code>th</code>.
 
@@ -888,7 +913,7 @@
       <li><code>bgcolor</code> attribute on <code>table</code>, <code>tr</code>,
       <code>td</code>, <code>th</code> and <code>body</code>.
       
-      <li><code>border</code> attribute on <code>table</code>, <code>img</code>
+      <li><code>border</code> attribute on <code>table</code>
       and <code>object</code>.
       
       <li><code>cellpadding</code> and <code>cellspacing</code> attributes on
@@ -1090,9 +1115,9 @@
      <li><code>section</code> and <code>article</code> now take a
      <code>cite</code> attribute.</li>
      <li>A new feature called Microdata has been introduced which allows
-     people to embed custom data structures in their HTML documents.</li> <!-- XXX -->
+     people to embed custom data structures in their HTML documents.</li>
      <li>Using the Microdata model three predefined vocabularies have also
-     been included: vCard, vEvent, and a model for licensing.</li> <!-- XXX -->
+     been included: vCard, vEvent, and a model for licensing.</li>
      <li>Drag and drop has been updated to work with the Microdata
      model.</li>
      <li>The <a href="http://hsivonen.iki.fi/last-html-quirk/">last of the

Received on Friday, 31 July 2009 13:25:07 UTC