Re: [w3c/webcomponents] Proposal: Allow custom elements to be in any namespace (#634)

Hmm is this the proposal that would also make `is` work for `class SvgIcon extends SVGElement `?
```js
      import {html, render} from 'https://unpkg.com/lit-html?module'
      import SvgIcon from './SvgIcon.js'
      customElements.define('svg-icon', SvgIcon, {extends: 'svg'})
      render(html`
        <svg is="svg-icon" viewBox="0 0 75 75" icon="add"></svg-icon>
        `, document.body)
```

Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': "svg" is an HTMLUnknownElement

-- 
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/634#issuecomment-482814806

Received on Saturday, 13 April 2019 14:41:37 UTC