-
Notifications
You must be signed in to change notification settings - Fork 317
Home
Domenic Denicola edited this page Aug 15, 2016
·
9 revisions
Warning: this is no longer kept up-to-date.
Custom elements is a feature that, until recently, was developed as monkeypatches onto various specifications. To help implementers have a consolidated view of how custom elements change the DOM Standard, we have a few resources.
First, there is a rendered HTML diff containing all the changes related to custom elements.
Second, we provide this listing of affected sections:
- Mutation algorithms: in particular insert and remove
- The clone algorithm, to handle elements specifically
-
Interface
Document:- the
createElementandcreateElementNSIDL definitions and algorithms, and the addition of theElementCreationOptionsdictionary. - 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