How to create new instance of an extended class of custom elements

Blink, the web engine that currently implements Custom Element v1 (in Chrome v53+ for example) only supports autonomous custom elements: see open Blink bug.

If you want to define customized built-in elements (i.e. <button> extension), you’ll need to use a polyfill like the one from Web Reflection.

Alternatly, you can still use the Custom Element v0 syntax (document.registerElement).


Update #3

Since october 2018, they work natively with Chrome 67+ and Firefox 63+ 🙂

Leave a Comment