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

Move innerHTML from ShadowRoot to DocumentFragment? #441

Closed
annevk opened this issue Mar 15, 2016 · 7 comments
Closed

Move innerHTML from ShadowRoot to DocumentFragment? #441

annevk opened this issue Mar 15, 2016 · 7 comments

Comments

@annevk
Copy link
Collaborator

annevk commented Mar 15, 2016

If we're going to support this, why not support it directly on DocumentFragment?

@domenic
Copy link
Collaborator

domenic commented Mar 15, 2016

People have been asking for this for a long time: https://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0663

@domenic
Copy link
Collaborator

domenic commented Mar 15, 2016

See https://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0766.html for some of the complexities

@annevk
Copy link
Collaborator Author

annevk commented Mar 15, 2016

The advantage from it being on ShadowRoot is that there's a context element? I guess that makes sense.

@hayatoito
Copy link
Contributor

Yes, we can use the shadow host as the context object.

@hayatoito
Copy link
Contributor

Let me close this.

@annevk
Copy link
Collaborator Author

annevk commented Mar 16, 2016

Sorry for forgetting about that. I guess we should add a note in the specification. Because if we ever introduce new ShadowRoot(), this would become problematic.

@hayatoito
Copy link
Contributor

Yeah, I've added a note.

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