Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom elements V1 extension of built-in elements #136

Closed
AndyOGo opened this issue Nov 6, 2018 · 0 comments · Fixed by #137
Closed

Support custom elements V1 extension of built-in elements #136

AndyOGo opened this issue Nov 6, 2018 · 0 comments · Fixed by #137

Comments

@AndyOGo
Copy link
Contributor

AndyOGo commented Nov 6, 2018

The custom elements V1 spec defines that existing (built-in) HTML elements can be extended by <div is="my-foo"> attribute or by a second optional paramenter of document.createElement('div', { is: 'my-foo'})

Same is true for namespaced elements:
https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant