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

Explanation required : Why only direct children of the shadow host can be slotted? #647

Closed
praveenpuglia opened this issue Jun 29, 2017 · 2 comments

Comments

@praveenpuglia
Copy link

Over at the CSSWG drafts repository, I asked the same question and was told that that's how the Shadow DOM spec is defined.

So, I couldn't find any explanation as to why it's restricted to only direct children. Should it be mentioned in the spec somewhere as a note or a reference link which expands on it?

Please tell me if I am missing something really obvious.

@annevk
Copy link
Collaborator

annevk commented Jun 29, 2017

I think in part it was done because of performance concerns and in part to make the initial version a bit simpler to implement.

@hayatoito
Copy link
Contributor

hayatoito commented Jun 29, 2017

@praveenpuglia See #574, which you might be interested in.

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

No branches or pull requests

3 participants