Re: [w3c/webcomponents] Why must the is="" attribute exist? (#509)

The `is=""` API can be confusing. For example:

```html
<my-el></my-el>
```
```js
class MyEl extends HTMLElement { /*... */ }
MyEl.extends = 'div'
document.registerElement('my-el', MyEl)

// ...

document.querySelector('my-el') instanceof MyEl // true or false?
```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/509#issuecomment-230123845

Received on Saturday, 2 July 2016 21:56:24 UTC