The custom element API allows javascript authors to create reusable web components. The author can create custom element constructors and setup callbacks for when various reactions occur on the element such as when its attributes are mutated. While this was possible in the past with non-standard elements, this API allows authors to have more functionality and ensures that these custom elements will not be broken by future changes to the web platform. While this is a new API, new web frameworks such as A-Frame and Polymer are built using custom elements. As the usage of custom elements increases, it will be important that Servo supports this API.



Connor Brewster


  • Josh Matthews