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

ShadowRoot innerHTML different from Element innerHTML #443

Closed
annevk opened this issue Mar 16, 2016 · 2 comments
Closed

ShadowRoot innerHTML different from Element innerHTML #443

annevk opened this issue Mar 16, 2016 · 2 comments

Comments

@annevk
Copy link
Collaborator

annevk commented Mar 16, 2016

Per https://w3c.github.io/DOM-Parsing/#widl-Element-innerHTML Element's innerHTML does not always use HTML's algorithms. It can use those of XML too. Is there a reason ShadowRoot's innerHTML is different here? I think ideally we make these work the same way.

@hayatoito
Copy link
Contributor

I do not think there is a reason. I guess the definition of Element's inner HTML diverged since the shadow dom spec referred to it.

They should work the same way.

@dglazkov , just in case.

@dglazkov
Copy link
Contributor

Should just work the same way.

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

No branches or pull requests

3 participants