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

What should happen when a ShadowRoot's host is adopted into a different document? #46

Closed
bzbarsky opened this issue Oct 23, 2018 · 2 comments

Comments

@bzbarsky
Copy link

The spec currently aims to prevent a constructed stylesheet being used across multiple documents. We should figure out what happens when a shadow host for a ShadowRoot with constructed stylesheets attached is adopted into a different document.

@rakina
Copy link
Member

rakina commented Nov 7, 2018

I think we should move the adoptedStylesheets along with the shadow host & root, and keeping them as the same object, with the same base URL, like for the case of using the CSSStyleSheets in different documents #15 (comment)

@rakina
Copy link
Member

rakina commented Dec 10, 2018

I think this is safe to close as #61 is merged? @bzbarsky, if you think this is still unresolved, please comment and I'll reopen.

@rakina rakina closed this as completed Dec 10, 2018
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

2 participants