Re: [w3c/webcomponents] Interfaces for web components (#725)

@annevk So if I would do something like this, browsers would treat my element as an input?

```JavaScript
class TestElement extends HTMLElement {
    get localName() { return 'input'; }

    constructor() {
        super();
    }
}
```

Any HTML analyzer would still complain though, because they don't accept my element. 

I don't know if it's even desired to have browser stylesheets pick up custom elements since they mostly come with their own stylesheet and there is barley any website which uses the built in styles for any of their elements. 



-- 
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/725#issuecomment-360414473

Received on Thursday, 25 January 2018 09:45:14 UTC