- From: poot <cvsmail@w3.org>
- Date: Fri, 09 Mar 2012 10:02:30 -0500
- To: public-html-diffs@w3.org
annevk: make + update pubdate http://dev.w3.org/cvsweb/html5/html4-differences/Overview.html?r1=1.167&r2=1.168&f=h =================================================================== RCS file: /sources/public/html5/html4-differences/Overview.html,v retrieving revision 1.167 retrieving revision 1.168 diff -u -d -r1.167 -r1.168 --- Overview.html 6 Mar 2012 15:28:44 -0000 1.167 +++ Overview.html 9 Mar 2012 15:02:08 -0000 1.168 @@ -4,8 +4,9 @@ .note { margin-left:2em; font-weight:bold; font-style:italic; color:green } p.note::before { content:"Note: " } dfn { font-style:normal; font-weight:bold } - code { color:orangered } + code { color:orangered; font-size:87.5%; font-size-adjust:0.5 } code :link, code :visited { color:inherit } + pre { font-size:inherit } pre code { color:inherit } pre strong { color:inherit; background:#ffa } [data-anolis-ref]::before { content:'[' } @@ -31,11 +32,11 @@ <h1 id="html5-diff">HTML5 differences from HTML4</h1> - <h2 class="no-num no-toc" id="w3c-doctype">W3C Working Draft 6 March 2012</h2> + <h2 class="no-num no-toc" id="w3c-doctype">W3C Working Draft 15 March 2012</h2> <dl> <dt>This Version:</dt> - <dd class="publish"><a href="http://www.w3.org/TR/2012/WD-html5-diff-20120306/">http://www.w3.org/TR/2012/WD-html5-diff-20120306/</a></dd> + <dd class="publish"><a href="http://www.w3.org/TR/2012/WD-html5-diff-20120315/">http://www.w3.org/TR/2012/WD-html5-diff-20120315/</a></dd> <dt class="publish">Latest Version:</dt> <dd class="publish"><a href="http://www.w3.org/TR/html5-diff/">http://www.w3.org/TR/html5-diff/</a></dd> @@ -94,7 +95,7 @@ found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at http://www.w3.org/TR/.</i></p> - <p>This is the 6 March 2012 W3C Working Draft produced by the + <p>This is the 15 March 2012 W3C Working 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 @@ -102,7 +103,7 @@ Group Note</a> to accompany the <a href="http://www.w3.org/TR/html5/">HTML5 specification</a>. The appropriate forum for comments is - <a href="http://www.w3.org/Bugs/Public/enter_bug.cgi?product=HTML%20WG&component=HTML5%20differences%20from%20HTML4%20%28editor:%20Anne%20van%20Kesteren%29">W3C + <a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=HTML%20WG&component=HTML5%20differences%20from%20HTML4%20%28editor%3A%20Anne%20van%20Kesteren%29">W3C Bugzilla</a>. <!--<a href="mailto:public-html-comments@w3.org">public-html-comments@w3.org</a>, a mailing list with a @@ -1835,7 +1836,7 @@ either category. <p>Some elements allowed "inline" elements (e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-p-element">p</a></code>), some allowed "block-level" elements (e.g. - <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-body-element">body</a></code>, some allowed both (e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-div-element">div</a></code>), while other elements did not allow either + <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-body-element">body</a></code>), some allowed both (e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-div-element">div</a></code>), while other elements did not allow either category but only allowed other specific elements (e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dl-element">dl</a></code>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-table-element">table</a></code>), or did now allow any children at all (e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-link-element">link</a></code>, <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>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-hr-element">hr</a></code>). @@ -1862,16 +1863,23 @@ several of them. <ul> - <li>Metadata content, e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-link-element">link</a></code> and - <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#the-script-element">script</a></code>. <li>Flow content, e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-span-element">span</a></code>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-div-element">div</a></code>, - text. This is roughly like HTML4's "block-level" and "inline" together. + <li>Metadata content, e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-link-element">link</a></code>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#the-script-element">script</a></code>. + + <li>Flow content, e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-span-element">span</a></code>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-div-element">div</a></code>, text. This is roughly like HTML4's + "block-level" and "inline" together. + <li>Sectioning content, e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-aside-element">aside</a></code>, - <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-section-element">section</a></code>. <li>Heading content, e.g. - <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-h1-element">h1</a></code> and <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-hgroup-element">hgroup</a></code>. <li>Phrasing content, e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-span-element">span</a></code>, <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>, - text. This is roughly like HTML4's "inline". Elements that are phrasing - content are also flow content. <li>Embedded content, e.g. <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>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#the-iframe-element">iframe</a></code>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#svg">svg</a></code>. <li>Interactive content, e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element">a</a></code>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element">button</a></code>, - <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-label-element">label</a></code>. Interactive content is not - allowed to be nested. + <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-section-element">section</a></code>. + + <li>Heading content, e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-h1-element">h1</a></code>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/sections.html#the-hgroup-element">hgroup</a></code>. + + <li>Phrasing content, e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-span-element">span</a></code>, <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>, text. This is roughly like HTML4's + "inline". Elements that are phrasing content are also flow content. + + <li>Embedded content, e.g. <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>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#the-iframe-element">iframe</a></code>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#svg">svg</a></code>. + + <li>Interactive content, e.g. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element">a</a></code>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element">button</a></code>, <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-label-element">label</a></code>. Interactive content is not allowed to + be nested. </ul> <p>As broad changes from HTML4, HTML5 no longer has any element that only @@ -2059,7 +2067,7 @@ <li><p><code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-a-element">a</a></code> and <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#the-area-element">area</a></code> elements now stringify to their <code class="external" title="attr-hyperlink-href"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#attr-hyperlink-href">href</a></code> attribute. <li><p>The <code class="external" title="dom-click"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#dom-click">click()</a></code>, - <code class="external" title="dom-focus"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#dom-focus">focus()</a></code> and <code class="external" title="dom-blur"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#dom-blur">blur()</a></code>) methods are now + <code class="external" title="dom-focus"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#dom-focus">focus()</a></code> and <code class="external" title="dom-blur"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#dom-blur">blur()</a></code> methods are now available on all HTML elements. </ul> @@ -2093,8 +2101,13 @@ editing API. <li><p>All event handler IDL attributes. Also, <code class="external" title="handler-onreadystatechange"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#handler-onreadystatechange">onreadystatechange</a></code> is a - special event handler IDL attribute that is only only available on <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#document">Document</a></code>. + special event handler IDL attribute that is only available on + <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#document">Document</a></code>. </ul> + + <p>Existing scripts that modified the prototype of <code>HTMLDocument</code> + should continue to work because <code>window.HTMLDocument</code> now returns + the <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#document">Document</a></code> interface object. <h3 id="htmlelement-extensions"><span class="secno">5.4 </span>Extensions to <code>HTMLElement</code></h3> @@ -2195,12 +2208,13 @@ members <code class="external" title="dom-a-relList"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#dom-a-rellist">relList</a></code>, <code class="external" title="dom-a-text"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#dom-a-text">text</a></code>, the URL decomposition IDL attributes: <code class="external" title="dom-a-protocol"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#dom-a-protocol">protocol</a></code>, <code class="external" title="dom-a-host"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#dom-a-host">host</a></code>, <code class="external" title="dom-a-hostname"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#dom-a-hostname">hostname</a></code>, <code class="external" title="dom-a-port"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#dom-a-port">port</a></code>, <code class="external" title="dom-a-pathname"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#dom-a-pathname">pathname</a></code>, <code class="external" title="dom-a-search"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-lvel-semantics.html#dom-a-search">search</a></code> and <code class="external" title="dom-a-hash"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#dom-a-hash">hash</a></code>. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#htmllinkelement">HTMLLinkElement</a></code> and <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#htmlareaelement">HTMLAreaElement</a></code> also have the <code class="external" title="dom-link-relList"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#dom-link-rellist">relList</a></code> IDL attribute. + <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#htmlareaelement">HTMLAreaElement</a></code> also has the URL + decomposition IDL attributes. <li><p><code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#htmlimageelement">HTMLImageElement</a></code> now has a constructor <code class="external" title="dom-Image"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#dom-image">Image</a></code>, the members <code class="external" title="dom-img-naturalWidth"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#dom-img-naturalwidth">naturalWidth</a></code>, <code class="external" title="dom-img-naturalHeight"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#dom-img-naturalheight">naturalHeight</a></code> and - <code class="external" title="dom-img-complete"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#dom-img-complete">complete</a></code>. <code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#htmlareaelement">HTMLAreaElement</a></code> also has the same new - members. + <code class="external" title="dom-img-complete"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#dom-img-complete">complete</a></code>. <li><p><code class="external"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#htmlobjectelement">HTMLObjectElement</a></code> now has the members <code class="external" title="dom-object-contentWindow"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#dom-object-contentwindow">contentWindow</a></code>, the form constraint
Received on Friday, 9 March 2012 15:02:37 UTC