W3C

HTML 5.2

W3C Working Draft,

This version:
https://www.w3.org/TR/2016/WD-html52-20161206/
Latest published version:
https://www.w3.org/TR/html52/
Latest version of HTML:
https://www.w3.org/TR/html/
Editor's Draft:
https://w3c.github.io/html/
Previous Versions:
https://www.w3.org/TR/2016/WD-html52-20161025/
Feedback:
public-html@w3.org with subject line “[html] … message topic …
Editors:
(The Paciello Group)
(Microsoft)
(Microsoft)
(Google)
Former Editors:
(Microsoft)
(Apple Inc.)
Robin Berjon (W3C)
Participate:
File an issue (open issues)
Others:
Single page version

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 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

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