W3C

HTML 5.2

Editor’s Draft,

Changes

This section summarises substantial substantive changes between Public Working Drafts, as a guide for general review.

Full details of all changes since 12 January 2016 are available from the commit log of the w3c/html github repository, including various editorial and linking fixes.

Changes between Working Draft 4 and Working Draft 3

Add manifest attribute
Added the manifest attribute (specifies the location of the document’s cache manifest) to the html element.
Added iframe allowpaymentrequest attribute
Added the allowpaymentrequest attribute (used by the Payment Request API to determine if Document objects in an iframe element’s browsing context are to be allowed to make payment requests) to the iframe element.
Integrated WHATWG changes
Included:
  • Reflecting a broken URL should return the unparsed value

  • Add MathML and SVG to dependencies and cross reference them correctly

  • Resetting a textarea should reset its dirty value flag

  • remove domain to ascii term

  • Add recursion check to frame elements* Make document.open() and close() check for XML document

  • Change data type for HashChageEvent to match reality* Make marker of summary inside

  • Make selection members nullable types

Add definition of allowed to use
Added steps for determining whether a Document object document is allowed to use the feature indicated by attribute name
Add advisement about HTML manifest removal plans
Allow <link rel="apple-touch-icon sizes...>
Added the apple-touch-icon keyword to the rel attribute values required for the size attribute to be used on the link element.
Final changes for a clean section 3
Includes:
  • Adding innerText attribute
  • Removal of restrictions on BiDi algorithm section

Changes between Working Draft 3 and Working Draft 2

Allow headings within legend
This was proposed in issue #724, to enable better semantic markup. It works already in practice.
Incorporate blocking of element loading based on type, from [CSP3]
Updated allowed ARIA roles for form controls and many other elements
This matches the normative ARIA in HTML specification [html-aria].
Update ARIA version to match [wai-aria-1.1]
This allows some more roles, states and properties for improved accessibility
Describe real behaviour for elements made focusable by addon tabindex
This change is to describe real implementation in browsers, which unfortunately does not reflect the desirable behaviour earlier specified.
Tighten restrictions on navigation control for sandboxed contexts

Changes between Working Draft 2 and the First Public Working Draft

Treat data: URLs as a separate origin
data: URLs will have a unique, opaque origin rather than inheriting that of the settings object. This aligns with Blink / Gecko / Webkit behaviour
Various fixes for compatibility with WHATWG specification
Reflecting a broken URL should return the unparsed value
Allow currentScript to return SVGScriptElement
Resetting a textarea should reset its dirty value flag
Make document.open() and close() check for XML document
Change data type for HashChangeEvent to match reality
Make selection members nullable types
Formalize bogus comment state
Add about:html-kind URL definition
This allows for MP4 media track integration
Add nonce to link
For use in Content Security Policy [CSP3]
Add WindowOrWorkerGlobalScope mixin
A convenience that simplifies adding functionality for Window and WorkerGlobalScope objects
Make label-less empty option okay as a datalist child
caption element cannot take role values

Changes since HTML 5.1 - Note that these may change if the HTML 5.1 specification is updated.

toolbar type for menu
This was removed from HTML 5.1 for lack of implementation, and may be removed from HTML 5.2 if not implemented.
dialog element
This was removed from HTML 5.1 for lack of implementation, and may be removed from HTML 5.2 if not implemented.
registerContentHandler(), isContentHandlerRegistered() and isProtocolHandlerRegistered()
These were removed from HTML 5.1 for lack of implementation, and may be removed from HTML 5.2 if not implemented.
datetime value for type
This was removed from HTML 5.1 for lack of implementation, and may be removed from HTML 5.2 if not implemented.
inputmode
This was removed from HTML 5.1 for lack of implementation, and may be removed from HTML 5.2 if not implemented.
keygen has been removed
As per Working Group decision, since it is likely to be removed soon from at least one of the two remaining implementations.
Modules, for scripts