-
Notifications
You must be signed in to change notification settings - Fork 296
Home
Anne van Kesteren edited this page Feb 22, 2018
·
9 revisions
Warning: this is no longer kept up-to-date.
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
andcreateElementNS
IDL definitions and algorithms, and the addition of theElementCreationOptions
dictionary. - Modifications to the adopt algorithm
- the
-
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
:- The
createHTMLDocument()
method uses "create an element"
- The
- All throughout the spec:
[CEReactions]
extended attributes are now present