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

Usage of cloneNode interferes with custom elements #250

Open
ironikart opened this issue Dec 17, 2018 · 0 comments
Open

Usage of cloneNode interferes with custom elements #250

ironikart opened this issue Dec 17, 2018 · 0 comments
Labels

Comments

@ironikart
Copy link
Contributor

HTMLCS uses element.cloneNode(true) in 2 locations which triggers custom element callbacks. This is solely used to generate a string approximating the source code of the element. A possible fix may just be detecting a - in the node name, afaik only custom elements use this.

@ironikart ironikart added the Bug label Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant