- From: Simon Pieters via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 01 Mar 2012 16:00:17 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html4-differences In directory hutz:/tmp/cvs-serv28968 Modified Files: Overview.src.html Log Message: Fill in changelog up to r7011 Index: Overview.src.html =================================================================== RCS file: /sources/public/html5/html4-differences/Overview.src.html,v retrieving revision 1.142 retrieving revision 1.143 diff -u -d -r1.142 -r1.143 --- Overview.src.html 29 Feb 2012 15:13:48 -0000 1.142 +++ Overview.src.html 1 Mar 2012 16:00:14 -0000 1.143 @@ -994,11 +994,6 @@ noteworthy new members:</p> <ul> - <li><p><code>getElementsByClassName()</code><!--XXX moved to DOM4--> to select elements by their - class name. The way this method is defined will allow it to work for - any content with <code data-anolis-spec=html title=attr-class>class</code> attributes and a <code data-anolis-spec=html>Document</code> - object such as SVG and MathML. - <li><p><code>innerHTML</code><!--XXX moved--> as an easy way to parse and serialize an HTML or XML document. This attribute was previously only available on <code data-anolis-spec=html>HTMLElement</code> in Web browsers and not part of any standard. @@ -1015,9 +1010,6 @@ in HTML5:</p> <ul> - <li><p><code>getElementsByClassName()</code><!--XXX--> which is basically a scoped - version of the one found on <code data-anolis-spec=html>HTMLDocument</code>. - <li><p><code data-anolis-spec=html>innerHTML</code><!--XXX--> as found in Web browsers today. It is also defined to work in XML context (when it is used in an XML document). @@ -1052,11 +1044,134 @@ <p>The changes in the changelogs are in rough chronological order.</p> - <!-- rev 6139 - 6142 --> - <!--<li>The <code>cross-origin</code> attribute has been added to <code>img</code>, <code>video</code> and <code>audio</code> to use CORS. <span data-anolis-ref>CORS</span> - <li>The <code>external</code> attribute has been added on <code>window</code> and has the members <code>AddSearchProvider()</code> and <code>IsSearchProviderInstalled()</code>.--> + <h3 id="changes-2011-05-25">Changes since 25 May 2011</h3> <!-- rev 6140 - 7011 --> + + <ul> + <li>Support for mutation observers was added. + <li>The <code>TextTrackCue</code> members <code>alignment</code>, <code>linePosition</code>, <code>textPosition</code> and <code>direction</code> were renamed to <code>align</code>, <code>line</code>, <code>position</code> and <code>vertical</code>, respectively. + <li>The <code>command</code> element now has a <code>command</code> attribute. + <li>Drag and drop content is now suggested to be filtered by user agents to prevent XSS attacks. + <li>The <code>translate</code> global attribute was added. + <li>The <code>showModalDialog()</code>, <code>alert()</code>, <code>confirm()</code> and <code>prompt()</code> methods are now allowed to do nothing during <code>pagehide</code>, <code>beforeunload</code> and <code>unload</code> events. + <li>The <code>script</code> element now supports <code>beforescriptexecute</code> and <code>afterscriptexecute</code> events. + <li><code>window.onerror</code> now supports a forth argument for column position. + <li>The <code>window.opener</code> IDL attribute can now return null in some cases. + <li>The <code>clearTimeout()</code> and <code>clearInterval()</code> methods were made synonymous. + <li>The CSS <code>@global</code> at-rule was introduced, for use together with <code>style</code> elements with the <code>scoped</code> attribute. + <li>The <code>embed</code> and <code>object</code> elements now have a legacycaller. + <li>The handling of <code>window.onerror</code>'s return value was changed to match reality. + <li>The <code>setTimeout()</code> API is now allowed to be throttled in background tabs. + <li>The <code>:valid</code> and <code>:invalid</code> pseudo-classes now apply to <code>form</code> elements. + <li>The <code>toBlob()</code> method on <code>canvas</code> now honors the origin-clean flag. + <li>The <code>activeElement</code> IDL attribute now points to the relevant browsing context container (e.g. <code>iframe</code>) when a child document has focus. + <li>The <code>atob()</code> method now ignores whitespace. + <li>The <code>dropzone</code> attribute was changed to use "<code>string:</code>" and "<code>file:</code>" instead of "<code>s:</code>" and "<code>f:</code>". + <li>The HTML parser was fixed to correctly handle a case involving foreign lands and foster parenting. + <li>The date-and-time microsyntaxes now allows a single space instead of a "T". + <li>Application cache no longer checks the MIME type of the cache manifest. + <li>The <code>cueAsSource</code> IDL attribute on <code>TextTrackCue</code> got renamed to <code>text</code>. + <li>The <code>window.onerror</code> API is now invoked with dummy arguments for cross-origin scripts. + <li>The <code>textarea</code> element's <code>value</code> and <code>textLength</code> IDL attributes have their newlines normalized to LF. + <li>The <code>q</code> element now has language-specific quotes rendered by default. + <li>The <code>data</code> element was introduced. + <li>The <code>time</code> element was redesigned to make it match how people wanted to use it. Its <code>pubdate</code> attribute was dropped. + <li>The legacycaller on <code>form</code> was removed. + <li>The <code>location.resolveURL()</code> method was removed. + <li>The <code>track</code> element now sniffs instead of obeying the MIME type. + <li>The <code>load()</code> method on documents created by <code>createDocument()</code> is now defined on the <code>XMLDocument</code> interface. + <li>Members of <code>HTMLDocument</code> moved to <code>Document</code> and <code>window.HTMLDocument</code> now just returns <code>window.Document</code>. + <li>The <code>MutableTextTrack</code> and <code>TextTrack</code> interfaces were merged and <code>TextTrackCue</code> was made more mutable. + <li>The <code>selectedOption</code> IDL attribute on <code>input</code> was dropped. + <li>Attribute values in Selectors are now case sensitive for all attributes. + <li>The <code>readyState</code> IDL attribute moved from <code>TextTrack</code> to <code>HTMLTrackElement</code>. + <li>The <code>text/html-sandboxed</code> MIME type was dropped. + <li>Floating point numbers are now allowed to begin with a "<code>.</code>" character. + <li>Navigating to an audio or video resource is now supported. + <li>Table cells now allow flow content but does not allow <code>header</code>, <code>footer</code>, sectioning content or heading content descendants. + <li>Adding a track to a media element now fires an <code>addtrack</code> event on the relevant track list objects. + <li>Setting <code>currentTime</code> on media elements before the media has loaded now defers the seek instead of throwing. + <li>Plugins are no longer disabled in sandboxed <code>iframe</code>s if they honor the <code>sandbox</code> attribute. + <li>Some tweaks to history navigation and related events. + <li>Media elements and <code>MediaController</code>s now get paused when they end. + <li>Events now support constructors and some <code>init*Event()</code> methods were removed. + <li>Media elements now fire a <code>suspend</code> event when the resource is loaded. + <li>Form submission now normalizes newlines to CRLF. + <li>Some tweaks around bidi and the <code>br</code> element. + <li>Large parts of the Editing section moved to HTML Editing APIs. + <li><code>UndoManager</code> and related features moved to UndoManager and DOM Transaction. + <li><code>isProtocolHandlerRegistered()</code>, <code>isContentHandlerRegistered()</code>, <code>unregisterProtocolHandler()</code> and <code>unregisterContentHandler()</code> were added. + <li><code>registerContentHandler()</code> now has a blacklist of MIME types. + <li><code>registerProtocolHandler()</code> now has a whitelist of protocols, but also supports any protocol that starts with "<code>web+</code>". + <li>Fragment identifiers for <code>text/html</code> resources now don't need to point to an element with a matching ID. + <li><code>audio</code> elements are now allowed to have zero <code>source</code> children. + <li>There are now some restrictions on the use of bidi formatting characters. + <li>The <code>maxlength</code> and <code>size</code> attributes are allowed (but give warnings in validators) on <code>input</code> elements with <code>type=number</code>. + <li>The link relation "<code>shortcut icon</code>" is now allowed. + <li>Heading elements are now allowed to have the <code>heading</code> and <code>tab</code> roles. + <li>Things that use <code>EventTarget</code> now inherits from it instead of using "implements". + <li>The <code>setInterval()</code> API now clamps to 4ms instead of 10ms. + <li>The <code>select</code> element and its <code>options</code> collection now have a setter. + <li><code>rel=help</code> on links now show a help cursor by default. + <li>Calls to <code>window.print()</code> before the document is loaded defers the print until it is loaded. + <li>Application cache gained an <code>abort()</code> method. + <li><code>HTMLCollection</code>, <code>DOMTokenList</code>, <code>getElementsByClassName()</code>, <code>createHTMLDocument()</code>, HTML-specific overrides to some DOM Core features (like <code>createElement()</code>), some definitions, the <code>id</code> IDL attribute and ID handling moved to DOM4. + <li>Fragment identifiers can now survive redirects. + <li>The <code>pushState()</code> and <code>replaceState()</code> methods now change the history entry to GET. + <li>The command API now has its properties prefixed so they are now <code>commandLabel</code>, <code>commandIcon</code>, <code>commandHidden</code>, <code>commandDisabled</code> and <code>commandChecked</code>. + <li>The structured clone algorithm now supports sparse arrays. + <li><code>window.postMessage</code> now supports transferring some objects instead of cloning them, and supports transferring <code>ArrayBuffer</code>. + <li>Application cache was made stricter in its MIME type checking. + <li>The <code>placeholder</code> attribute is now allowed on <code>input</code> elements with <code>type=number</code>. + <li><code>MediaController</code> gained an <code>onended</code> event listener. + <li>The HTML parser changed its handling of U+0000 characters in some places. + <li>The <code>object</code> element gained a new attribute <code>typemustmatch</code>, to make it safer for authors to embed untrusted resources where they expect a certain content type. + <li>The <code>form</code> attribute was removed from <code>meter</code> and <code>progress</code>. + <li>The HTML parser was made more forward compatible in its handling of <code>ruby</code>. + <li>Some MIME types (e.g. <code>text/plain</code>) that are guaranteed to never be supported as scripting types for <code>script</code> were specified, so authors can safely use them for custom data blocks. + <li><code>about:blank</code> documents created from <code>window.open()</code> now get a <code>load</code> event. + <li><code>window.status</code> was specified to exist but do nothing. + <li>Drag and drop <code>DataTransferItems</code> was renamed to <code>DataTransferItemList</code>. + <li>Application cache now supports 'no-store' and HTTPS. + <li>The structured clone algorithm now supports getters. + <li>The <code>crossorigin</code> attribute has been added to <code>img</code>, <code>video</code> and <code>audio</code> to use CORS. <span data-anolis-ref>CORS</span> + <li>The <code>external</code> attribute has been added on <code>window</code> and has the members <code>AddSearchProvider()</code> and <code>IsSearchProviderInstalled()</code>. + </ul> + + <!-- + <p>Further changes to HTML that do not affect HTML5:</p> + + <ul> + <li>When the <code>itemprop</code> attribute is used on an element where microdata gets its value from an attribute (like <code>href</code> on <code>a</code> elements), that attribute is now required. + <li>PeerConnection was moved to WebRTC. + <li>WebVTT was moved to its own specification. + <li>WebSockets no longer receive messages in the <code>CLOSING</code> state. + <li>The Atom conversion algorithm was dropped. + <li>The <code>itemtype</code> attribute now allows multiple types. + <li><code>CanvasPixelArray</code> was dropped in favor of <code>Uint8ClampedArray</code>. + <li>The microdata to RDF conversion algorithm was dropped. + <li>The <code>link</code> element is no longer allowed to have both <code>rel</code> and <code>itemprop</code>. + <li>WebSocket API disallows opening an insecure connection if the document uses a secure connection. + <li>The "storage mutex" is made optional. + <li>Web Storage no longer supports structured data. + <li>The <code>a</code> element got a new <code>download</code> attribute. This attribute is not included in HTML5. + <li>The 2d context <code>fillText()</code> and <code>strokeText()</code> methods now do not collapse whitespace. + <li>Microdata now handles infinite loops. + <li>Web Worker <code>location</code> now stringifies. + <li>Script errors in a Web Worker can now be detected in a parent worker or the document with the <code>onerror</code> handler. + <li><code>EventSource</code> now supports CORS. + <li><code>EventSource</code> was made stricter in its MIME type checking. + <li>Web Workers gained the <code>atob()</code> and <code>btoa()</code> methods. + <li>Web Workers gained the <code>ononline</code> and <code>onoffline</code> event handlers. + <li>WebSockets API has the <code>error</code> event again. + <li>WebSockets API now exposes the selected extensions<!- - and allows compression (was dropped in a later rev)- ->. + <li>Various tweaks to the UDP <code>PeerConnection</code> API. + <li>WebSocket close code and reason are now supported in the API. + <li>Binary data is now supported in WebSockets. + <li>Redirects in WebSockets are now blocked for security reasons. + </ul> + --> - <h3 id="changes-2011-01-13">Changes since 5 April 2011</h3> <!-- rev 5974 - 6139 --> + <h3 id="changes-2011-04-05">Changes from 5 April 2011 to 25 May 2011</h3> <!-- rev 5974 - 6139 --> <ul> <li>Support for the <code>javascript:</code> scheme in <code>img</code>, <code>object</code>, CSS, etc, has been dropped.
Received on Thursday, 1 March 2012 16:00:24 UTC