2nd arg of document.createElement should be an object

This feature adds a dictionary as a second argument for document.createElement. The dictionary 'is' member is used to set custom element attribute. For now both syntaxes will be supported. Later on after v1 custom elements (https://www.chromestatus.com/features/4696261944934400) are shipped the string argument will be deprecated.

Documentation

Specification

Established standard

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 56
  • Chrome for Android release 56
  • Android WebView release 56
  • Opera release 43
  • Opera for Android release 43

Consensus & Standardization

  • Shipped
  • No public signals
  • No public signals
  • No signals

Owners

Last updated on 2017-02-09