How we built it

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. See https://dom.spec.whatwg.org/#dom-document-createelement. 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.

Specification

Established standard

Status in Chromium

In development (launch bug)

Consensus & Standardization

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

Owners

Last updated on 2016-10-11