- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 04 Mar 2016 22:37:49 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Saturday, 5 March 2016 06:38:17 UTC
Although I agree type is not a great word, I think it's important to distinguish from localName, because of the type extensions/ { is } version.
Assuming #408, then if you do
```js
document.defineElement("super-a", XFoo, { extends: "a" });
document.createElement("a", { is: "super-a" });
```
then the resulting local name of such elements will be `"a"`, not `"super-a"`.
I also think it's important to have a term for what is currently "valid custom element type".
---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/416#issuecomment-192593064
Received on Saturday, 5 March 2016 06:38:17 UTC