This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In this: <element extends="button" name="x-fancybutton"> <!-- definition --> … </element> <button is="x-fancybutton" onclick="showTimeClicked(event);"> <!-- use --> Show time </button> I guess it should be obvious ("no") but I wonder if, say in the example of the custom button definition, can a span use that definition? so instead of <button is="x-fancy…" can you say <span is="x-fancy…"?
Ugh I didnt see the error handling at the end. Maybe it might just help to explain at the beginning that the elements it can be used on need to be same as the element it extends.