[Bug 27976] [Custom]: type extensions should be available as custom tags, not only through <baseTag is="...">

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27976

--- Comment #4 from markg <m1879@earthlink.net> ---
I have not seen this stated very explicitly anywhere. How about a note in the
spec at someplace like this location:

http://w3c.github.io/webcomponents/spec/custom/#custom-tag-example

It might make it clear like this:

"If you want a custom element to extend a native element like <button>, then
you cannot use a custom tag name for it. Instead, you must use the native
element tagname with the @is attribute, something like <button is="my-button">.
It will not work to use a custom tag such as <my-button> to extend <button>
(HTMLButtonElement prototype).

"Saying it another way, custom tagnames can only be used when you are not
extending a native element (other than the default HTMLElement)."

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 19 February 2015 03:48:54 UTC