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

feat: make shadow root adopt scoped component styles #6027

Closed
3 tasks done
tomherni opened this issue Oct 11, 2024 · 0 comments
Closed
3 tasks done

feat: make shadow root adopt scoped component styles #6027

tomherni opened this issue Oct 11, 2024 · 0 comments
Labels

Comments

@tomherni
Copy link
Contributor

tomherni commented Oct 11, 2024

Prerequisites

Describe the Feature Request

When a scoped component is inside a shadow root, rather than adding the component styles to a <style> tag, add them to the shadow root's adopted stylesheets.

Describe the Use Case

This is an improvement for browsers that support adopting stylesheets, which would be the majority of users nowadays.

Additional Information

It wasn't much effort, so I just went ahead and created a pull request #6028. Feedback is much appreciated.

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