html5/html4-differences Overview.html,1.180,1.181 Overview.src.html,1.193,1.194

Update of /sources/public/html5/html4-differences
In directory hutz:/tmp/cvs-serv4521

Modified Files:
	Overview.html Overview.src.html 
Log Message:
describe changes in the bulk of the document; fix xref bugs

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.html,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -d -r1.180 -r1.181
--- Overview.html	14 Sep 2012 10:16:55 -0000	1.180
+++ Overview.html	14 Sep 2012 11:39:21 -0000	1.181
@@ -466,6 +466,8 @@
 
       <li><p>WHATWG HTML has <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-data-element">data</a></code> which
       allows content to be annotated with a machine-readable value.
+      
+      <li><p>WHATWG HTML has <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/commands.html#the-dialog-element">dialog</a></code> for showing a dialog.
 
       <li><p><code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-ruby-element">ruby</a></code>,
       <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-rt-element">rt</a></code>, and
@@ -621,14 +623,14 @@
       when specified, and the <code class="external" title="attr-fe-name"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fe-name">name</a></code> attribute which can be used for script access.
 
       <li><p>The <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#the-input-element">input</a></code> element has several new attributes to
-      specify constraints: <code class="external" title="attr-input-autocomplete"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-autocomplete">autocomplete</a></code>, <code class="external" title="attr-input-min"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-min">min</a></code>,
+      specify constraints: <code class="external" title="attr-fe-autocomplete"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fe-autocomplete">autocomplete</a></code>, <code class="external" title="attr-input-min"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-min">min</a></code>,
       <code class="external" title="attr-input-max"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-max">max</a></code>, <code class="external" title="attr-input-multiple"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-multiple">multiple</a></code>, <code class="external" title="attr-input-pattern"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-pattern">pattern</a></code> and
       <code class="external" title="attr-input-step"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-step">step</a></code>. As mentioned before it also has a new
       <code class="external" title="attr-input-list"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-list">list</a></code> attribute which can be used together with the
       <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-datalist-element">datalist</a></code> element. It also now has the <code class="external" title="attr-dim-width"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#attr-dim-width">width</a></code> and <code class="external" title="attr-dim-height"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#attr-dim-height">height</a></code> attributes to specify the dimensions of the image when using <code>type=image</code>.
 
       <li><p>The <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#the-input-element">input</a></code> and <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-textarea-element">textarea</a></code> elements have
-      a new attribute named <code class="external" title="attr-input-dirname"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#attr-input-dirname">dirname</a></code> that causes the
+      a new attribute named <code class="external" title="attr-fe-dirname"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fe-dirname">dirname</a></code> that causes the
       directionality of the control as set by the user to be submitted as
       well.
 
@@ -647,6 +649,8 @@
       the <code class="external" title="attr-fs-action"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fs-action">action</a></code>, <code class="external" title="attr-fs-enctype"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fs-enctype">enctype</a></code>, <code class="external" title="attr-fs-method"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fs-method">method</a></code>,
       <code class="external" title="attr-fs-novalidate"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fs-novalidate">novalidate</a></code>, and <code class="external" title="attr-fs-target"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fs-target">target</a></code> attributes on the
       <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-form-element">form</a></code> element.</p>
+      
+      <li><p>In WHATWG HTML, the <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#the-input-element">input</a></code> and <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-textarea-element">textarea</a></code> have an <code class="external" title="attr-fe-inputmode"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fe-inputmode">inputmode</a></code> attribute.
 
       <li><p>The <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/interactive-elements.html#the-menu-element">menu</a></code> element has two new attributes:
       <code class="external" title="attr-menu-type"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/interactive-elements.html#attr-menu-type">type</a></code> and <code class="external" title="attr-menu-label"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/interactive-elements.html#attr-menu-label">label</a></code>. They
@@ -681,7 +685,7 @@
 
       <li><p>The <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#the-object-element">object</a></code> element has a new attribute called <code class="external" title="attr-object-typemustmatch"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#attr-object-typemustmatch">typemustmatch</a></code> which allows safer embedding of external resources.
 
-      <li><p>The <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element">img</a></code> element has a new attribute called <code class="external" title="attr-img-crossorigin"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#attr-img-crossorigin">crossorigin</a></code> to use CORS in the fetch and if it is successful, allows the image data to be read with the <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#the-canvas-element">canvas</a></code> API.
+      <li><p>The <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#the-img-element">img</a></code> element has a new attribute called <code class="external" title="attr-img-crossorigin"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#attr-img-crossorigin">crossorigin</a></code> to use CORS in the fetch and if it is successful, allows the image data to be read with the <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#the-canvas-element">canvas</a></code> API. In WHATWG HTML, there is also a new attribute called <code class="external" title="attr-img-srcset"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#attr-img-srcset">srcset</a></code> to support multiple images for different resolutions and different images for different viewport sizes.
     </ul>
 
     <p>Several attributes from HTML4 now apply to all elements. These
@@ -712,6 +716,8 @@
 
       <li><p>The <code class="external" title="attr-hidden"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#the-hidden-attribute">hidden</a></code>
       attribute indicates that an element is not yet, or is no longer, relevant.
+      
+      <li><p>WHATWG HTML has the <code class="external" title="attr-inert"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#the-inert-attribute">inert</a></code> attribute, intended to make <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/commands.html#the-dialog-element">dialog</a></code> elements modal.
 
       <li><p>The <code class="external" title="wai-aria"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#wai-aria">role</a></code> and
       <code class="external" title="wai-aria"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#wai-aria">aria-<var>*</var></a></code>
@@ -1540,9 +1546,11 @@
       <li><p>The <code class="external" title="attr-fs-action"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fs-action">action</a></code>
       attribute on <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-form-element">form</a></code> is no longer allowed
       to have an empty URL.
+      
+      <li><p>In WHATWG HTML, the <code class="external" title="attr-fs-method"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fs-method">method</a></code> attribute has a new keyword <code class="external" title="attr-fs-method-dialog-keyword"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#attr-fs-method-dialog-keyword">dialog</a></code>, intended to close a <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/commands.html#the-dialog-element">dialog</a></code> element.
 
-      <li><p>The <code class="external" title="attr-table-border"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#attr-table-border">border</a></code> attribute on <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-table-element">table</a></code> only allows the values "1" and the
-      empty string.
+      <li><p>The <code>border</code> attribute on <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-table-element">table</a></code> only allows the values "1" and the
+      empty string. In WHATWG HTML, the <code class="external" title="attr-table-border"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#attr-table-border">border</a></code> attribute is obsolete.
 
       <li><p>The <code class="external" title="attr-tdth-colspan"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#attr-tdth-colspan">colspan</a></code> attribute on <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-td-element">td</a></code> and <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-th-element">th</a></code>
       now has to be greater than zero.
@@ -2164,7 +2172,7 @@
       and <code class="external" title="dom-select-namedItem"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#dom-select-nameditem">namedItem()</a></code> methods, a setter creator,
       <code class="external" title="dom-select-selectedOptions"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#dom-select-selectedoptions">selectedOptions</a></code> and <code class="external" title="dom-lfe-labels"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#dom-lfe-labels">labels</a></code> IDL attributes,
       and members for the form constrain validation API: <code class="external" title="dom-cva-willvalidate"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-cva-willvalidate">willValidate</a></code>,
-      <code class="external" title="dom-cva-validity"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-cva-validity">validity</a></code>, <code class="external" title="dom-cva-validationMessage"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-cva-validationmessage">validationMessage</a></code>, <code class="external" title="dom-cva-checkValidity"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-cva-checkvalidatity">checkValidity()</a></code>
+      <code class="external" title="dom-cva-validity"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-cva-validity">validity</a></code>, <code class="external" title="dom-cva-validationMessage"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-cva-validationmessage">validationMessage</a></code>, <code class="external" title="dom-form-checkvalidity"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#dom-form-checkvalidity">checkValidity()</a></code>
       and <code class="external" title="dom-cva-setCustomValidity"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#dom-cva-setcustomvalidity">setCustomValidity()</a></code>.
 
       <li><p><code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#htmloptionelement">HTMLOptionElement</a></code> now has a
@@ -2298,7 +2306,7 @@
      <li>The shared worker <code>connect</code> event now also exposes the source port in the <code>source</code> IDL attribute.
      <li>Lone surrogates are converted to U+FFFD instead of throwing in WebSocket <code>send()</code>.
      <li>The <code>setRangeText()</code> method has been added to <code>input</code> and <code>textarea</code>.
-     <li>The <code>srcset</code> attribute has been added to <code>img</code> to support multiple images for different resolutions and different images for different viewport sizes.
+     <li>The <code>srcset</code> attribute has been added to <code>img</code>.
      <li>Application cache now has an <code>prefer-online</code> mode.
      <li>Dialogs are now supported with the <code>dialog</code> element, the <code>inert</code> global attribute and the <code>dialog</code> method on <code>form</code>.
      <li>The <code>resetTransform()</code> method, <code>currentTransform</code> IDL attribute, several IDL attributes for font metrics, <code>resetClip()</code> method, <code>imageSmoothingEnabled</code> IDL attribute, <code>addHitRegion()</code> method, <code>removeHitRegion()</code> method, support for dashed lines, have been added to the canvas 2d context.

Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.src.html,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -d -r1.193 -r1.194
--- Overview.src.html	14 Sep 2012 10:16:56 -0000	1.193
+++ Overview.src.html	14 Sep 2012 11:39:21 -0000	1.194
@@ -421,6 +421,8 @@
 
       <li><p>WHATWG HTML has <code data-anolis-spec=html>data</code> which
       allows content to be annotated with a machine-readable value.
+      
+      <li><p>WHATWG HTML has <code data-anolis-spec=html>dialog</code> for showing a dialog.
 
       <li><p><code data-anolis-spec=html>ruby</code>,
       <code data-anolis-spec=html>rt</code>, and
@@ -576,14 +578,14 @@
       when specified, and the <code data-anolis-spec=html title=attr-fe-name>name</code> attribute which can be used for script access.
 
       <li><p>The <code data-anolis-spec=html>input</code> element has several new attributes to
-      specify constraints: <code data-anolis-spec=html title=attr-input-autocomplete>autocomplete</code>, <code data-anolis-spec=html title=attr-input-min>min</code>,
+      specify constraints: <code data-anolis-spec=html title=attr-fe-autocomplete>autocomplete</code>, <code data-anolis-spec=html title=attr-input-min>min</code>,
       <code data-anolis-spec=html title=attr-input-max>max</code>, <code data-anolis-spec=html title=attr-input-multiple>multiple</code>, <code data-anolis-spec=html title=attr-input-pattern>pattern</code> and
       <code data-anolis-spec=html title=attr-input-step>step</code>. As mentioned before it also has a new
       <code data-anolis-spec=html title=attr-input-list>list</code> attribute which can be used together with the
       <code data-anolis-spec=html>datalist</code> element. It also now has the <code data-anolis-spec=html title=attr-dim-width>width</code> and <code data-anolis-spec=html title=attr-dim-height>height</code> attributes to specify the dimensions of the image when using <code>type=image</code>.
 
       <li><p>The <code data-anolis-spec=html>input</code> and <code data-anolis-spec=html>textarea</code> elements have
-      a new attribute named <code data-anolis-spec=html title=attr-input-dirname>dirname</code> that causes the
+      a new attribute named <code data-anolis-spec=html title=attr-fe-dirname>dirname</code> that causes the
       directionality of the control as set by the user to be submitted as
       well.
 
@@ -602,6 +604,8 @@
       the <code data-anolis-spec=html title=attr-fs-action>action</code>, <code data-anolis-spec=html title=attr-fs-enctype>enctype</code>, <code data-anolis-spec=html title=attr-fs-method>method</code>,
       <code data-anolis-spec=html title=attr-fs-novalidate>novalidate</code>, and <code data-anolis-spec=html title=attr-fs-target>target</code> attributes on the
       <code data-anolis-spec=html>form</code> element.</p>
+      
+      <li><p>In WHATWG HTML, the <code data-anolis-spec=html>input</code> and <code data-anolis-spec=html>textarea</code> have an <code data-anolis-spec=html title="attr-fe-inputmode">inputmode</code> attribute.
 
       <li><p>The <code data-anolis-spec=html>menu</code> element has two new attributes:
       <code data-anolis-spec=html title=attr-menu-type>type</code> and <code data-anolis-spec=html title=attr-menu-label>label</code>. They
@@ -636,7 +640,7 @@
 
       <li><p>The <code data-anolis-spec=html>object</code> element has a new attribute called <code data-anolis-spec=html title=attr-object-typemustmatch>typemustmatch</code> which allows safer embedding of external resources.
 
-      <li><p>The <code data-anolis-spec=html>img</code> element has a new attribute called <code data-anolis-spec=html title=attr-img-crossorigin>crossorigin</code> to use CORS in the fetch and if it is successful, allows the image data to be read with the <code data-anolis-spec=html>canvas</code> API.
+      <li><p>The <code data-anolis-spec=html>img</code> element has a new attribute called <code data-anolis-spec=html title=attr-img-crossorigin>crossorigin</code> to use CORS in the fetch and if it is successful, allows the image data to be read with the <code data-anolis-spec=html>canvas</code> API. In WHATWG HTML, there is also a new attribute called <code data-anolis-spec=html title=attr-img-srcset>srcset</code> to support multiple images for different resolutions and different images for different viewport sizes.
     </ul>
 
     <p>Several attributes from HTML4 now apply to all elements. These
@@ -672,6 +676,8 @@
 
       <li><p>The <code data-anolis-spec=html title=attr-hidden>hidden</code>
       attribute indicates that an element is not yet, or is no longer, relevant.
+      
+      <li><p>WHATWG HTML has the <code data-anolis-spec=html title=attr-inert>inert</code> attribute, intended to make <code data-anolis-spec=html>dialog</code> elements modal.
 
       <li><p>The <code data-anolis-spec=html title=wai-aria>role</code> and
       <code data-anolis-spec=html title=wai-aria>aria-<var>*</var></code>
@@ -1507,11 +1513,13 @@
       <li><p>The <code data-anolis-spec=html title=attr-fs-action>action</code>
       attribute on <code data-anolis-spec=html>form</code> is no longer allowed
       to have an empty URL.
+      
+      <li><p>In WHATWG HTML, the <code data-anolis-spec=html title=attr-fs-method>method</code> attribute has a new keyword <code data-anolis-spec=html title=attr-fs-method-dialog-keyword>dialog</code>, intended to close a <code data-anolis-spec=html>dialog</code> element.
 
-      <li><p>The <code data-anolis-spec=html
-      title=attr-table-border>border</code> attribute on <code
+      <li><p>The <code>border</code> attribute on <code
       data-anolis-spec=html>table</code> only allows the values "1" and the
-      empty string.
+      empty string. In WHATWG HTML, the <code data-anolis-spec=html
+      title=attr-table-border>border</code> attribute is obsolete.
 
       <li><p>The <code data-anolis-spec=html
       title=attr-tdth-colspan>colspan</code> attribute on <code
@@ -2313,7 +2321,7 @@
       <code data-anolis-spec=html title=dom-cva-validity>validity</code>, <code
       data-anolis-spec=html
       title=dom-cva-validationMessage>validationMessage</code>, <code
-      data-anolis-spec=html title=dom-cva-checkValidity>checkValidity()</code>
+      data-anolis-spec=html title=dom-form-checkvalidity>checkValidity()</code>
       and <code data-anolis-spec=html
       title=dom-cva-setCustomValidity>setCustomValidity()</code>.
 
@@ -2493,7 +2501,7 @@
      <li>The shared worker <code>connect</code> event now also exposes the source port in the <code>source</code> IDL attribute.
      <li>Lone surrogates are converted to U+FFFD instead of throwing in WebSocket <code>send()</code>.
      <li>The <code>setRangeText()</code> method has been added to <code>input</code> and <code>textarea</code>.
-     <li>The <code>srcset</code> attribute has been added to <code>img</code> to support multiple images for different resolutions and different images for different viewport sizes.
+     <li>The <code>srcset</code> attribute has been added to <code>img</code>.
      <li>Application cache now has an <code>prefer-online</code> mode.
      <li>Dialogs are now supported with the <code>dialog</code> element, the <code>inert</code> global attribute and the <code>dialog</code> method on <code>form</code>.
      <li>The <code>resetTransform()</code> method, <code>currentTransform</code> IDL attribute, several IDL attributes for font metrics, <code>resetClip()</code> method, <code>imageSmoothingEnabled</code> IDL attribute, <code>addHitRegion()</code> method, <code>removeHitRegion()</code> method, support for dashed lines, have been added to the canvas 2d context.

Received on Friday, 14 September 2012 11:39:30 UTC