Skip to content
Anne van Kesteren edited this page Feb 22, 2018 · 9 revisions

Warning: this is no longer kept up-to-date.

Custom Elements

Custom elements is a feature that, until recently, was developed as monkey patches onto various specifications. To help implementers have a consolidated view of how custom elements change the DOM Standard, we have a few resources.

Listing of affected sections:

  • Mutation algorithms: in particular insert and remove
  • The clone algorithm, to handle elements specifically
  • Interface Document:
    • the createElement and createElementNS IDL definitions and algorithms, and the addition of the ElementCreationOptions dictionary.
    • Modifications to the adopt algorithm
  • Interface Element:
    • The "custom element state" concept and related definitions
    • The "create an element" algorithm
    • Modifications to changing, appending, removing, and replacing attributes.
    • The attachShadow() method has a provision for custom elements
  • Interface DOMImplementation:
  • All throughout the spec: [CEReactions] extended attributes are now present
Clone this wiki locally