- From: Gert Cuykens <notifications@github.com>
- Date: Sat, 13 Apr 2019 07:41:15 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 13 April 2019 14:41:37 UTC
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