- From: poot <cvsmail@w3.org>
- Date: Tue, 31 Aug 2010 23:11:53 +0900 (JST)
- To: public-html-diffs@w3.org
annevk: ping was dropped http://dev.w3.org/cvsweb/html5/html4-differences/Overview.html?r1=1.103&r2=1.104&f=h =================================================================== RCS file: /sources/public/html5/html4-differences/Overview.html,v retrieving revision 1.103 retrieving revision 1.104 diff -u -d -r1.103 -r1.104 --- Overview.html 23 Jun 2010 15:49:48 -0000 1.103 +++ Overview.html 31 Aug 2010 14:05:15 -0000 1.104 @@ -13,7 +13,7 @@ code :link, code :visited { color:inherit } pre code { color:inherit } </style> - <link href="http://www.w3.org/StyleSheets/TR/W3C-WD" rel=stylesheet> + <link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel=stylesheet> <body> <div class=head> @@ -22,13 +22,13 @@ <h1 id=html5-diff>HTML5 differences from HTML4</h1> - <h2 class="no-num no-toc" id=w3c-doctype>W3C Working Draft 24 June 2010</h2> + <h2 class="no-num no-toc" id=w3c-doctype>Editor's Draft 31 August 2010</h2> <dl> <dt>This Version: <dd><a - href="http://www.w3.org/TR/2010/WD-html5-diff-20100624/">http://www.w3.org/TR/2010/WD-html5-diff-20100624/</a> + href="http://www.w3.org/TR/2010/ED-html5-diff-20100831/">http://www.w3.org/TR/2010/ED-html5-diff-20100831/</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 24 June 2010 W3C Working Draft produced by the <a + <p>This is the 31 August 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 @@ -663,14 +663,6 @@ element. <li> - <p>The <code>a</code> and <code>area</code> elements have a new attribute - called <code>ping</code> that specifies a space-separated list of URLs - which have to be pinged when the hyperlink is followed. Currently user - tracking is mostly done through redirects. This attribute allows the - user agent to inform users which URLs are going to be pinged as well as - giving privacy-conscious users a way to turn it off. - - <li> <p>The <code>area</code> element, for consistency with the <code>a</code> and <code>link</code> elements, now also has the <code>hreflang</code> and <code>rel</code> attributes. @@ -1204,6 +1196,9 @@ <!-- rev 4647 - 5107 --> <ul> + <li>The <code>ping</code> attribute has been removed from the W3C version + of HTML5. + <li>The <code>title</code> element is optional for <code>iframe</code> <code>srcdoc</code> documents and other scenarios were a title is already available. As is the case with email. Index: Overview.src.html =================================================================== RCS file: /sources/public/html5/html4-differences/Overview.src.html,v retrieving revision 1.81 retrieving revision 1.82 diff -u -d -r1.81 -r1.82 --- Overview.src.html 23 Jun 2010 15:49:49 -0000 1.81 +++ Overview.src.html 31 Aug 2010 14:05:15 -0000 1.82 @@ -23,7 +23,7 @@ <dl> <dt>This Version:</dt> - <dd><a href="[VERSION]/">http://www.w3.org/TR/[YEAR]/WD-html5-diff-[CDATE]/</a></dd> + <dd><a href="[VERSION]/">http://www.w3.org/TR/[YEAR]/ED-html5-diff-[CDATE]/</a></dd> <dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/html5-diff/">http://www.w3.org/TR/html5-diff/</a></dd> @@ -182,7 +182,7 @@ <h3 id="development-model">Development Model</h3> - + <p>The HTML5 specification will not be considered finished before there are at least two complete implementations of the specification. A test suite will be used to measure completeness of the implementations. @@ -239,7 +239,7 @@ HTML5. Note that XML documents must be served with an XML media type such as <code>application/xhtml+xml</code> or <code>application/xml</code>.</p> - + <pre><code><?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> @@ -249,9 +249,9 @@ <p>Example paragraph</p> </body> </html></code></pre> - + <h3 id="character-encoding">Character Encoding</h3> - + <p>For the HTML syntax of HTML5, authors have three means of setting the character encoding:</p> @@ -290,14 +290,14 @@ 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> - + <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 syntax features could look like:</p> - + <pre><code><!doctype html> <title>SVG in text/html</title> <p> @@ -311,9 +311,9 @@ <h3 id="syntax-misc">Miscellaneous</h3> - + <p>There are a few other syntax changes worthy of mentioning:</p> - + <ul> <li>HTML now has native support for IRIs, though they can only be fully used if the document encoding is UTF-8 or UTF-16.</li> @@ -325,20 +325,20 @@ <h2 id="language">Language</h2> - + <p>This section is split up in several subsections to more clearly illustrate the various differences there are between HTML4 and HTML5.</p> <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> <li><p><a href="http://www.w3.org/TR/html5/semantics.html#the-section-element"><code>section</code></a> represents a generic document or application section. It can be @@ -381,9 +381,9 @@ <p><a href="http://www.w3.org/TR/html5/semantics.html#the-figcaption-element"><code>figcaption</code></a> can be used as caption (it is optional).</p> </li> </ul> - + <p>Then there are several other new elements:</p> - + <ul> <li><p><a href="http://www.w3.org/TR/html5/video.html#video"><code>video</code></a> and @@ -402,7 +402,7 @@ represents represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context.</p></li> - + <li><p><a href="http://www.w3.org/TR/html5/text-level-semantics.html#the-progress-element"><code>progress</code></a> represents a completion of a task, such as downloading or when performing a series of expensive operations.</p></li> @@ -412,7 +412,7 @@ <li><p><a href="http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element"><code>time</code></a> represents a date and/or time.</p></li> - + <li><p><a href="http://dev.w3.org/html5/spec/text-level-semantics.html#the-ruby-element"><code>ruby</code></a>, <a href="http://dev.w3.org/html5/spec/text-level-semantics.html#the-rt-element"><code>rt</code></a> and @@ -447,7 +447,7 @@ <option value="Firefox"> </datalist></code></pre> </li> - + <li><p><a href="http://dev.w3.org/html5/spec/forms.html#the-keygen-element"><code>keygen</code></a> represents control for key pair generation.</p></li> @@ -458,7 +458,7 @@ <p>The <code>input</code> element's <code>type</code> attribute now has the following new values:</p> - + <ul> <li><a href="http://www.w3.org/TR/html5/forms.html#telephone-state"><code>tel</code> @@ -471,17 +471,17 @@ <li><a href="http://www.w3.org/TR/html5/forms.html#date-and-time-state"><code>datetime</code></a> <li><a href="http://www.w3.org/TR/html5/forms.html#date-state"><code>date</code></a> - + <li><a href="http://www.w3.org/TR/html5/forms.html#month-state"><code>month</code></a> - + <li><a href="http://www.w3.org/TR/html5/forms.html#week-state"><code>week</code></a> - + <li><a href="http://www.w3.org/TR/html5/forms.html#time-state"><code>time</code></a> - + <li><a href="http://www.w3.org/TR/html5/forms.html#local-date-and-time-state"><code>datetime-local</code></a> <li><a href="http://www.w3.org/TR/html5/forms.html#number-state"><code>number</code></a> - + <li><a href="http://www.w3.org/TR/html5/forms.html#range-state"><code>range</code></a> <li><a href="http://www.w3.org/TR/html5/forms.html#color-state"><code>color</code></a> @@ -495,7 +495,7 @@ <h3 id="new-attributes">New Attributes</h3> - + <p>HTML5 has introduced several new attributes to various elements that were already part of HTML4:</p> @@ -504,24 +504,17 @@ <code>media</code> attribute for consistency with the <code>link</code> element. - <li><p>The <code>a</code> and <code>area</code> elements have a new - attribute called <code>ping</code> that specifies a space-separated list - of URLs which have to be pinged when the hyperlink is followed. Currently - user tracking is mostly done through redirects. This attribute allows the - user agent to inform users which URLs are going to be pinged as well as - giving privacy-conscious users a way to turn it off. - <li><p>The <code>area</code> element, for consistency with the <code>a</code> and <code>link</code> elements, now also has the <code>hreflang</code> and <code>rel</code> attributes. - + <li><p>The <code>base</code> element can now have a <code>target</code> attribute as well, mainly for consistency with the <code>a</code> element. (This is already widely supported.) Also, the <code>target</code> attribute for the <code>a</code> and <code>area</code> elements is no longer deprecated, as it is useful in Web applications, e.g. in conjunction with <code>iframe</code>. - + <li><p>The <code>value</code> attribute for the <code>li</code> element is no longer deprecated as it is not presentational. The same goes for the <code>start</code> attribute of the <code>ol</code> @@ -551,7 +544,7 @@ controls to be associated with a form. I.e. these elements can now be placed anywhere on a page, not just as descendants of the <code>form</code> element.</p> - + <pre class="example"><code><label>Email: <input type=email form=x name=email> </label> @@ -575,11 +568,11 @@ <code>step</code>. As mentioned before it also has a new <code>list</code> attribute which can be used together with the <code>datalist</code> element. - + <li><p>The <code>form</code> element has a <code>novalidate</code> attribute that can be used to disable form validation submission (i.e. the form can always be submitted). - + <li><p>The <code>input</code> and <code>button</code> elements have <code>formaction</code>, <code>formenctype</code>, <code>formmethod</code>, <code>formnovalidate</code>, and @@ -627,7 +620,7 @@ <p>There are also several new global attributes:</p> - <ul> + <ul> <li>The <code>contenteditable</code> attribute indicates that the element is an editable area. The user can change the contents of the element and manipulate the markup. @@ -646,11 +639,11 @@ <li>The <code>hidden</code> attribute indicates that an element is not yet, or is no longer, relevant. - + <li>The <code>role</code> and <code>aria-<var>*</var></code> collection attributes which can be used to instruct assistive technology.</li> - + <li>The <code>spellcheck</code> attribute allows for hinting whether content can be checked for spelling or not. @@ -683,7 +676,7 @@ importance, such as keywords in a document abstract, product names in a review, or other spans of text whose typical typographic presentation is emboldened.</p></li> - + <li><p>The <code>cite</code> element now solely represents the title of a work (e.g. a book, a paper, an essay, a poem, a score, a song, a script, a film, a TV show, a game, a sculpture, a painting, a theatre @@ -721,11 +714,11 @@ <h3 id="changed-attributes">Changed attributes</h3> - + <p>The following attributes are allowed but authors are discouraged from using them and instead strongly encouraged to 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 @@ -736,7 +729,7 @@ (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> @@ -759,9 +752,9 @@ <li><code>basefont</code> <li><code>big</code> - + <li><code>center</code> - + <li><code>font</code> <li><code>s</code> @@ -793,7 +786,7 @@ <li><code>acronym</code> is not included because it has created a lot of confusion. Authors are to use <code>abbr</code> for abbreviations.</li> - + <li><code>applet</code> has been obsoleted in favor of <code>object</code>. @@ -808,11 +801,11 @@ <h3 id="absent-attributes">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 how they should work in those scenarios.</p> - + <ul> <li><code>rev</code> and <code>charset</code> attributes on <code>link</code> and <code>a</code>. @@ -848,11 +841,11 @@ <li><code>scope</code> attribute on <code>td</code>. </ul> - + <p>In addition, HTML5 has none of the presentational attributes that were in HTML4 as their functions are better handled by CSS:</p> - + <ul> <li><code>align</code> attribute on <code>caption</code>, <code>iframe</code>, <code>img</code>, <code>input</code>, @@ -870,49 +863,49 @@ <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> and <code>object</code>. - + <li><code>cellpadding</code> and <code>cellspacing</code> attributes on <code>table</code>. - + <li><code>char</code> and <code>charoff</code> attributes on <code>col</code>, <code>colgroup</code>, <code>tbody</code>, <code>td</code>, <code>tfoot</code>, <code>th</code>, <code>thead</code> and <code>tr</code>. - + <li><code>clear</code> attribute on <code>br</code>. - + <li><code>compact</code> attribute on <code>dl</code>, <code>menu</code>, <code>ol</code> and <code>ul</code>. - + <li><code>frame</code> attribute on <code>table</code>. - + <li><code>frameborder</code> attribute on <code>iframe</code>. - + <li><code>height</code> attribute on <code>td</code> and <code>th</code>. - + <li><code>hspace</code> and <code>vspace</code> attributes on <code>img</code> and <code>object</code>. <li><code>marginheight</code> and <code>marginwidth</code> attributes on <code>iframe</code>. - + <li><code>noshade</code> attribute on <code>hr</code>. - + <li><code>nowrap</code> attribute on <code>td</code> and <code>th</code>. - + <li><code>rules</code> attribute on <code>table</code>. - + <li><code>scrolling</code> attribute on <code>iframe</code>. - + <li><code>size</code> attribute on <code>hr</code>. - + <li><code>type</code> attribute on <code>li</code>, <code>ol</code> and <code>ul</code>. - + <li><code>valign</code> attribute on <code>col</code>, <code>colgroup</code>, <code>tbody</code>, <code>td</code>, <code>tfoot</code>, <code>th</code>, <code>thead</code> and @@ -949,49 +942,49 @@ <li>API that exposes the history and allows pages to add to it to prevent breaking the back button.</li> </ul> - - + + <h3 id="htmldocument-extensions">Extensions to <code>HTMLDocument</code></h3> - + <p>HTML5 has extended the <code>HTMLDocument</code> interface from DOM Level 2 HTML in a number of ways. The interface is now implemented on <em>all</em> objects implementing the <code>Document</code> interface so it stays meaningful in a compound document context. It also has several noteworthy new members:</p> - + <ul> <li><p><code>getElementsByClassName()</code> to select elements by their class name. The way this method is defined will allow it to work for any content with <code>class</code> attributes and a <code>Document</code> object such as SVG and MathML. - + <li><p><code>innerHTML</code> as an easy way to parse and serialize an HTML or XML document. This attribute was previously only available on <code>HTMLElement</code> in Web browsers and not part of any standard. - + <li><p><code>activeElement</code> and <code>hasFocus</code> to determine which element is currently focused and whether the <code>Document</code> has focus respectively. - + <li><p><code>getSelection()</code> which returns an object that represents the current selection(s). </ul> - - + + <h3 id="htmlelement-extensions">Extensions to <code>HTMLElement</code></h3> - + <p>The <code>HTMLElement</code> interface has also gained several extensions in HTML5:</p> - + <ul> <li><p><code>getElementsByClassName()</code> which is basically a scoped version of the one found on <code>HTMLDocument</code>. - + <li><p><code>innerHTML</code> as found in Web browsers today. It is also defined to work in XML context (when it is used in an XML document). - + <li><p><code>classList</code> is a convenient accessor for <code>className</code>. The object it returns, exposes methods (<code>contains()</code>, <code>add()</code>, <code>remove()</code>, @@ -1000,8 +993,8 @@ a similar attribute called <code>relList</code> that provides the same functionality for the <code>rel</code> attribute. </ul> - - + + <h2 id="changelog">HTML5 Changelogs</h2> <p>The changelogs in this section indicate what has been changed between @@ -1027,6 +1020,8 @@ <h3 id="changes-2010-03-04">Changes since 4 March 2010</h3> <!-- rev 4647 - 5107 --> <ul> + <li>The <code>ping</code> attribute has been removed from the W3C + version of HTML5.</li> <li>The <code>title</code> element is optional for <code>iframe</code> <code>srcdoc</code> documents and other scenarios were a title is already available. As is the case with email.</li> @@ -1043,7 +1038,7 @@ <li>The HTML to Atom mapping has been removed from the W3C version of HTML5.</li> </ul> - + <p>In addition lots of minor changes, clarifications, and fixes have been made to the document.</p> @@ -1097,7 +1092,7 @@ <li><a href="http://dev.w3.org/html5/2dcontext/">HTML Canvas 2D Context</a></li> <li><a href="http://dev.w3.org/html5/postmsg/">HTML5 Web Messaging</a></li> </ul> - + <p>Specific microdata vocabularies are gone altogether in the W3C draft of HTML5 and are not published as a separate draft. The WHATWG draft of HTML5 still includes them.</p> @@ -1160,9 +1155,9 @@ <li>The <code>datagrid</code> and <code>bb</code> have been removed due to their design not being agreed upon.</li> <li>The cue range API has been removed from the media elements.</li> - <li>Support for WAI-ARIA has been integrated.</li> + <li>Support for WAI-ARIA has been integrated.</li> </ul> - + <p>On top of this list quite a few minor clarifications, typos, issues specific to implementors, and other small problems have been resolved.</p> @@ -1177,7 +1172,7 @@ <h3 id="changes-2009-02-12">Changes from 12 February 2009 to 23 April 2009</h3> - + <ul> <li>A new global attribute called <code>spellcheck</code> has been added.</li> @@ -1226,11 +1221,11 @@ <li>The <code>datagrid</code> element was revised to make the API more asynchronous and allow for unloaded parts of the grid.</li> </ul> - + <p>In addition, several parts of HTML5 have been taken out and will be further developed by the Web Applications Working Group as standalone specifications:</p> - + <ul> <li><a href="http://dev.w3.org/html5/websockets/">WebSocket API</a></li> <li><a href="http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol">WebSocket protocol</a></li> @@ -1238,8 +1233,8 @@ <li><a href="http://dev.w3.org/html5/webstorage/">Web Storage</a> (<code>localStorage</code> and <code>sessionStorage</code>)</li> <li><a href="http://dev.w3.org/html5/webdatabase/">Web SQL Database</a></li> </ul> - - + + <h3 id="changes-2008-06-10">Changes from 10 June 2008 to 12 February 2009</h3> <ul> @@ -1569,7 +1564,7 @@ <dl> <dt>[<dfn id="ref-css-ui">CSS-UI</dfn>]</dt> - + <dd><cite><a href="http://www.w3.org/TR/css3-ui/">CSS3 Basic User Interface Module</a></cite>, T. Çelik. W3C.</dd> @@ -1601,12 +1596,12 @@ (editors' draft), I. Hickson. W3C.</dd> <dt>[<dfn id="ref-psl">PSL</dfn>]</dt> - + <dd><cite><a href="http://publicsuffix.org/">Public Suffix List</a></cite>, Mozilla Foundation.</dd> - + <dt>[<dfn id="ref-selectors">SELECTORS</dfn>]</dt> - + <dd><cite><a href="http://www.w3.org/TR/css3-selectors/">Selectors</a></cite>, D. Glazman, T. Çelik, I. Hickson. W3C.</dd>
Received on Tuesday, 31 August 2010 14:06:12 UTC