- From: poot <cvsmail@w3.org>
- Date: Thu, 11 Feb 2010 14:06:05 +0900 (JST)
- To: public-html-diffs@w3.org
annevk: fix a bug in WF2 differences and remove code around DOCTYPE http://dev.w3.org/cvsweb/html5/html4-differences/Overview.html?r1=1.83&r2=1.84&f=h =================================================================== RCS file: /sources/public/html5/html4-differences/Overview.html,v retrieving revision 1.83 retrieving revision 1.84 diff -u -d -r1.83 -r1.84 --- Overview.html 3 Sep 2009 13:29:06 -0000 1.83 +++ Overview.html 11 Feb 2010 05:05:48 -0000 1.84 @@ -22,13 +22,13 @@ <h1 id=html5-diff>HTML5 differences from HTML4</h1> - <h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 3 September 2009</h2> + <h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 11 February 2010</h2> <dl> <dt>This Version: <dd><a - href="http://www.w3.org/TR/2009/ED-html5-diff-20090903/">http://www.w3.org/TR/2009/ED-html5-diff-20090903/</a> + href="http://www.w3.org/TR/2010/ED-html5-diff-20100211/">http://www.w3.org/TR/2010/ED-html5-diff-20100211/</a> <dt>Latest Published Version: @@ -101,7 +101,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 3 September 2009 Editor's Draft produced by the <a + <p>This is the 11 February 2010 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 @@ -135,77 +135,77 @@ <!--begin-toc--> <ul class=toc> - <li><a href="#introduction"><span class=secno>1 </span>Introduction</a> + <li><a href="#introduction"><span class=secno>1. </span>Introduction</a> <ul class=toc> - <li><a href="#open-issues"><span class=secno>1.1 </span>Open Issues</a> + <li><a href="#open-issues"><span class=secno>1.1. </span>Open Issues</a> + - <li><a href="#backwards-compatible"><span class=secno>1.2 + <li><a href="#backwards-compatible"><span class=secno>1.2. </span>Backwards Compatible</a> - <li><a href="#development-model"><span class=secno>1.3 + <li><a href="#development-model"><span class=secno>1.3. </span>Development Model</a> - <li><a href="#webarch"><span class=secno>1.4 </span>Impact on Web + <li><a href="#webarch"><span class=secno>1.4. </span>Impact on Web Architecture</a> </ul> - <li><a href="#syntax"><span class=secno>2 </span>Syntax</a> + <li><a href="#syntax"><span class=secno>2. </span>Syntax</a> <ul class=toc> - <li><a href="#character-encoding"><span class=secno>2.1 </span>Character - Encoding</a> + <li><a href="#character-encoding"><span class=secno>2.1. + </span>Character Encoding</a> - <li><a href="#doctype"><span class=secno>2.2 </span>The <code - title="">DOCTYPE</code></a> + <li><a href="#doctype"><span class=secno>2.2. </span>The DOCTYPE</a> - <li><a href="#mathml-svg"><span class=secno>2.3 </span>MathML and + <li><a href="#mathml-svg"><span class=secno>2.3. </span>MathML and SVG</a> - <li><a href="#syntax-misc"><span class=secno>2.4 + <li><a href="#syntax-misc"><span class=secno>2.4. </span>Miscellaneous</a> </ul> - <li><a href="#language"><span class=secno>3 </span>Language</a> + <li><a href="#language"><span class=secno>3. </span>Language</a> <ul class=toc> - <li><a href="#new-elements"><span class=secno>3.1 </span>New + <li><a href="#new-elements"><span class=secno>3.1. </span>New Elements</a> - <li><a href="#new-attributes"><span class=secno>3.2 </span>New + <li><a href="#new-attributes"><span class=secno>3.2. </span>New Attributes</a> - <li><a href="#changed-elements"><span class=secno>3.3 </span>Changed + <li><a href="#changed-elements"><span class=secno>3.3. </span>Changed Elements</a> - <li><a href="#changed-attributes"><span class=secno>3.4 </span>Changed + <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 + <li><a href="#absent-elements"><span class=secno>3.5. </span>Absent Elements</a> - <li><a href="#absent-attributes"><span class=secno>3.6 </span>Absent + <li><a href="#absent-attributes"><span class=secno>3.6. </span>Absent Attributes</a> </ul> - <li><a href="#apis"><span class=secno>4 </span>APIs</a> + <li><a href="#apis"><span class=secno>4. </span>APIs</a> <ul class=toc> - <li><a href="#htmldocument-extensions"><span class=secno>4.1 + <li><a href="#htmldocument-extensions"><span class=secno>4.1. </span>Extensions to <code>HTMLDocument</code></a> - <li><a href="#htmlelement-extensions"><span class=secno>4.2 + <li><a href="#htmlelement-extensions"><span class=secno>4.2. </span>Extensions to <code>HTMLElement</code></a> </ul> - <li><a href="#changelog"><span class=secno>5 </span>HTML5 Changelogs</a> + <li><a href="#changelog"><span class=secno>5. </span>HTML5 Changelogs</a> <ul class=toc> - <li><a href="#changes-2009-04-23"><span class=secno>5.1 </span>Changes + <li><a href="#changes-2009-04-23"><span class=secno>5.1. </span>Changes since 23 April 2009</a> - <li><a href="#changes-2009-02-12"><span class=secno>5.2 </span>Changes + <li><a href="#changes-2009-02-12"><span class=secno>5.2. </span>Changes from 12 February 2009 to 23 April 2009</a> - <li><a href="#changes-2008-06-10"><span class=secno>5.3 </span>Changes + <li><a href="#changes-2008-06-10"><span class=secno>5.3. </span>Changes from 10 June 2008 to 12 February 2009</a> - <li><a href="#changes-2008-01-22"><span class=secno>5.4 </span>Changes + <li><a href="#changes-2008-01-22"><span class=secno>5.4. </span>Changes from 22 January 2008 to 10 June 2008</a> </ul> @@ -215,7 +215,7 @@ </ul> <!--end-toc--> - <h2 id=introduction><span class=secno>1 </span>Introduction</h2> + <h2 id=introduction><span class=secno>1. </span>Introduction</h2> <p>HTML has been in continuous evolution since it was introduced to the Internet in the early 1990s. Some features were introduced in @@ -251,7 +251,7 @@ applications. </ol> - <h3 id=open-issues><span class=secno>1.1 </span>Open Issues</h3> + <h3 id=open-issues><span class=secno>1.1. </span>Open Issues</h3> <p><strong>HTML5 is still a draft.</strong> The contents of HTML5, as well as the contents of this document which depend on HTML5, are still being @@ -266,7 +266,7 @@ <code>alt</code> and <code>summary</code> attributes. </ul> - <h3 id=backwards-compatible><span class=secno>1.2 </span>Backwards + <h3 id=backwards-compatible><span class=secno>1.2. </span>Backwards Compatible</h3> <p>HTML5 is defined in a way that it is backwards compatible with the way @@ -285,7 +285,7 @@ <p>Since HTML5 has separate conformance requirements for authors and user agents there is no longer a need for marking features "deprecated". - <h3 id=development-model><span class=secno>1.3 </span>Development Model</h3> + <h3 id=development-model><span class=secno>1.3. </span>Development Model</h3> <p>The HTML5 specification will not be considered finished before there are at least two complete implementations of the specification. This is a @@ -296,7 +296,7 @@ editor one beer in exchange. --> <div> - <h3 id=webarch><span class=secno>1.4 </span>Impact on Web Architecture</h3> + <h3 id=webarch><span class=secno>1.4. </span>Impact on Web Architecture</h3> <!-- http://lists.w3.org/Archives/Public/www-tag/2008May/0087.html --> <p>The following areas / features defined in HTML5 are believed to impact the Web architecture:</p> @@ -355,7 +355,7 @@ </div> <!-- This closes the <div> added for Michael(tm) Smith. --> - <h2 id=syntax><span class=secno>2 </span>Syntax</h2> + <h2 id=syntax><span class=secno>2. </span>Syntax</h2> <p>HTML5 defines an HTML syntax that is compatible with HTML4 and XHTML1 documents published on the Web, but is not compatible with the more @@ -404,7 +404,7 @@ </body> </html></code></pre> - <h3 id=character-encoding><span class=secno>2.1 </span>Character Encoding</h3> + <h3 id=character-encoding><span class=secno>2.1. </span>Character Encoding</h3> <p>For the HTML syntax of HTML5 authors have three means of setting the character encoding: @@ -427,25 +427,23 @@ <p>For the XML syntax, authors have to use the rules as set forth in the XML specifications to set the character encoding. - <h3 id=doctype><span class=secno>2.2 </span>The <code - title="">DOCTYPE</code></h3> + <h3 id=doctype><span class=secno>2.2. </span>The DOCTYPE</h3> - <p>The HTML syntax of HTML5 requires a <code title="">DOCTYPE</code> to be - specified to ensure that the browser renders the page in standards mode. - The <code title="">DOCTYPE</code> has no other purpose and is therefore - optional for XML. Documents with an XML media type are always handled in - standards mode. [<cite><a href="#ref-doctype">DOCTYPE</a></cite>] + <p>The HTML syntax of HTML5 requires a DOCTYPE to be specified to ensure + that the browser renders the page in standards mode. The DOCTYPE has no + other purpose and is therefore optional for XML. Documents with an XML + media type are always handled in standards mode. [<cite><a + href="#ref-doctype">DOCTYPE</a></cite>] - <p>The <code title="">DOCTYPE</code> declaration is <code><!DOCTYPE - html></code> and is case-insensitive in the HTML syntax. <code - title="">DOCTYPE</code>s from earlier versions of HTML were longer because - the HTML language was SGML-based and therefore required a reference to a - DTD. With HTML5 this is no longer the case and the <code - title="">DOCTYPE</code> is only needed to enable standards mode for - documents written using the HTML syntax. Browsers already do this for - <code><!DOCTYPE html></code>. + <p>The DOCTYPE declaration is <code><!DOCTYPE html></code> and is + case-insensitive in the HTML syntax. DOCTYPEs from earlier versions of + HTML were longer because the HTML language was SGML-based and therefore + required a reference to a DTD. With HTML5 this is no longer the case and + the DOCTYPE is only needed to enable standards mode for documents written + using the HTML syntax. Browsers already do this for <code><!DOCTYPE + html></code>. - <h3 id=mathml-svg><span class=secno>2.3 </span>MathML and SVG</h3> + <h3 id=mathml-svg><span class=secno>2.3. </span>MathML and SVG</h3> <p>The HTML syntax of HTML5 allows for MathML and SVG elements to be used inside a document. E.g. a very simple document using some of the minimal @@ -462,7 +460,7 @@ <code>foreignObject</code> element you could nest MathML, HTML, or both inside an SVG fragment that is itself inside HTML. - <h3 id=syntax-misc><span class=secno>2.4 </span>Miscellaneous</h3> + <h3 id=syntax-misc><span class=secno>2.4. </span>Miscellaneous</h3> <p>There are a few other syntax changes worthy of mentioning: @@ -474,12 +472,12 @@ a valid language identifier, just like <code>xml:lang</code> does in XML. </ul> - <h2 id=language><span class=secno>3 </span>Language</h2> + <h2 id=language><span class=secno>3. </span>Language</h2> <p>This section is split up in several subsections to more clearly illustrate the various differences there are between HTML4 and HTML5. - <h3 id=new-elements><span class=secno>3.1 </span>New Elements</h3> + <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 @@ -719,7 +717,7 @@ a better experience as his input is checked before sending it to the server meaning there is less time to wait for feedback. - <h3 id=new-attributes><span class=secno>3.2 </span>New Attributes</h3> + <h3 id=new-attributes><span class=secno>3.2. </span>New Attributes</h3> <p>HTML5 has introduced several new attributes to various elements that were already part of HTML4: @@ -898,7 +896,7 @@ the <code>message</code> event which is used by the cross-document messaging API. - <h3 id=changed-elements><span class=secno>3.3 </span>Changed Elements</h3> + <h3 id=changed-elements><span class=secno>3.3. </span>Changed Elements</h3> <p>These elements have slightly modified meanings in HTML5 to better reflect how they are used on the Web or to make them more useful: @@ -950,7 +948,7 @@ strong emphasis. </ul> - <h3 id=changed-attributes><span class=secno>3.4 </span>Changed attributes</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: @@ -976,7 +974,7 @@ draft defines several alternative solutions. </ul> - <h3 id=absent-elements><span class=secno>3.5 </span>Absent Elements</h3> + <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 HTML5 define how. @@ -1035,7 +1033,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.6 </span>Absent Attributes</h3> + <h3 id=absent-attributes><span class=secno>3.6. </span>Absent Attributes</h3> <p>Some attributes from HTML4 are no longer allowed in HTML5. If they need to have any impact on user agents for compatibility reasons it is defined @@ -1149,7 +1147,7 @@ and <code>pre</code>. </ul> - <h2 id=apis><span class=secno>4 </span>APIs</h2> + <h2 id=apis><span class=secno>4. </span>APIs</h2> <p>HTML5 introduces a number of APIs that help in creating Web applications. These can be used together with the new elements introduced @@ -1183,7 +1181,7 @@ <li>Cross-document messaging. </ul> - <h3 id=htmldocument-extensions><span class=secno>4.1 </span>Extensions to + <h3 id=htmldocument-extensions><span class=secno>4.1. </span>Extensions to <code>HTMLDocument</code></h3> <p>HTML5 has extended the <code>HTMLDocument</code> interface from DOM @@ -1218,7 +1216,7 @@ mostly used for editing of documents. </ul> - <h3 id=htmlelement-extensions><span class=secno>4.2 </span>Extensions to + <h3 id=htmlelement-extensions><span class=secno>4.2. </span>Extensions to <code>HTMLElement</code></h3> <p>The <code>HTMLElement</code> interface has also gained several @@ -1243,7 +1241,7 @@ functionality for the <code>rel</code> attribute. </ul> - <h2 id=changelog><span class=secno>5 </span>HTML5 Changelogs</h2> + <h2 id=changelog><span class=secno>5. </span>HTML5 Changelogs</h2> <p>The changelogs in this section indicate what has been changed between publications of the HTML5 drafts. Rationale for changes can be found in @@ -1262,7 +1260,7 @@ <p>The changes in the changelogs are in rough chronological order to ease editing this document. - <h3 id=changes-2009-04-23><span class=secno>5.1 </span>Changes since 23 + <h3 id=changes-2009-04-23><span class=secno>5.1. </span>Changes since 23 April 2009</h3> <!-- since rev 2975 --> @@ -1362,7 +1360,7 @@ <li>Definition of Content-Type sniffing. </ul> - <h3 id=changes-2009-02-12><span class=secno>5.2 </span>Changes from 12 + <h3 id=changes-2009-02-12><span class=secno>5.2. </span>Changes from 12 February 2009 to 23 April 2009</h3> <ul> @@ -1442,8 +1440,8 @@ <li>Web Storage (the persistent storage and database storage features) </ul> - <h3 id=changes-2008-06-10><span class=secno>5.3 </span>Changes from 10 June - 2008 to 12 February 2009</h3> + <h3 id=changes-2008-06-10><span class=secno>5.3. </span>Changes from 10 + June 2008 to 12 February 2009</h3> <ul> <li>The <code>data</code> member of <code>ImageData</code> objects has @@ -1589,8 +1587,8 @@ <li>User agents must treat US-ASCII as Windows-1252 for compatibility reasons. - <li>An alternative syntax for the <code title="">DOCTYPE</code> is allowed - for compatibility with some XML tools. + <li>An alternative syntax for the DOCTYPE is allowed for compatibility + with some XML tools. <li>Data templates have been removed (consisted of the <code>datatemplate</code>, <code>rule</code> and <code>nest</code> @@ -1685,8 +1683,10 @@ A field can still be associated with a form it is not nested in through the <code>form</code> attribute. - <li>The <code>dispatchFormInput()</code> and - <code>dispatchFormChange()</code> methods have been removed. + <li>The <code>dispatchChangeInput()</code> and + <code>dispatchFormChange()</code> methods have been removed from the + <code>select</code>, <code>input</code>, <code>textarea</code>, and + <code>button</code> elements. <li>Repetition templates have been removed. @@ -1737,7 +1737,7 @@ attribute. </ul> - <h3 id=changes-2008-01-22><span class=secno>5.4 </span>Changes from 22 + <h3 id=changes-2008-01-22><span class=secno>5.4. </span>Changes from 22 January 2008 to 10 June 2008</h3> <ul> Index: Overview.src.html =================================================================== RCS file: /sources/public/html5/html4-differences/Overview.src.html,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- Overview.src.html 3 Sep 2009 13:29:06 -0000 1.61 +++ Overview.src.html 11 Feb 2010 05:05:48 -0000 1.62 @@ -338,23 +338,21 @@ <p>For the XML syntax, authors have to use the rules as set forth in the XML specifications to set the character encoding.</p> - <h3 id="doctype">The <code title="">DOCTYPE</code></h3> + <h3 id="doctype">The DOCTYPE</h3> - <p>The HTML syntax of HTML5 requires a - <code title="">DOCTYPE</code> to be specified to ensure that the browser - renders the page in standards mode. The <code title="">DOCTYPE</code> - has no other purpose and is therefore optional for XML. Documents with - an XML media type are always handled in standards mode. + <p>The HTML syntax of HTML5 requires a DOCTYPE to be specified to ensure + that the browser renders the page in standards mode. The DOCTYPE has no + other purpose and is therefore optional for XML. Documents with an XML + media type are always handled in standards mode. [<cite><span>DOCTYPE</span></cite>]</p> - <p>The <code title="">DOCTYPE</code> declaration is - <code><!DOCTYPE html></code> and is case-insensitive in the HTML - syntax. <code title="">DOCTYPE</code>s from earlier versions of HTML - were longer because the HTML language was SGML-based and therefore - required a reference to a DTD. With HTML5 this is no longer the - case and the <code title="">DOCTYPE</code> is only needed to enable - standards mode for documents written using the HTML syntax. Browsers - already do this for <code><!DOCTYPE html></code>.</p> + <p>The DOCTYPE declaration is <code><!DOCTYPE html></code> and is + case-insensitive in the HTML syntax. DOCTYPEs from earlier versions of + HTML were longer because the HTML language was SGML-based and therefore + required a reference to a DTD. With HTML5 this is no longer the case and + the DOCTYPE is only needed to enable standards mode for documents + written using the HTML syntax. Browsers already do this for + <code><!DOCTYPE html></code>.</p> <h3 id="mathml-svg">MathML and SVG</h3> @@ -1331,7 +1329,7 @@ parsing.</li> <li>User agents must treat US-ASCII as Windows-1252 for compatibility reasons.</li> - <li>An alternative syntax for the <code title="">DOCTYPE</code> is + <li>An alternative syntax for the DOCTYPE is allowed for compatibility with some XML tools.</li> <li>Data templates have been removed (consisted of the <code>datatemplate</code>, <code>rule</code> and <code>nest</code> @@ -1403,8 +1401,10 @@ <li>Support for associating a field with multiple forms has been removed. A field can still be associated with a form it is not nested in through the <code>form</code> attribute.</li> - <li>The <code>dispatchFormInput()</code> and - <code>dispatchFormChange()</code> methods have been removed.</li> + <li>The <code>dispatchChangeInput()</code> and + <code>dispatchFormChange()</code> methods have been removed from the + <code>select</code>, <code>input</code>, <code>textarea</code>, and + <code>button</code> elements.</li> <li>Repetition templates have been removed.</li> <li>The <code>inputmode</code> attribute has been removed.</li> <li>The <code>input</code> element in the File Upload state no longer
Received on Thursday, 11 February 2010 05:06:39 UTC