-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bug in style transform #4
Comments
I don't think this is a bug. The SSR behavior is the same. If you want to style the element itself you can use the :host selector. Every rule gets the element name prepended unless it starts with :host. |
@ryanbethel is right, this is the expected behaviour for style transform but the question now is, should we fix it? |
I ran into this when I was working on the other versions of the shady styles transform. |
I found a bug in the style transform. If you do:
todo-app {
it becomes:
When it should skip adding the custom element name if it already exists.
The text was updated successfully, but these errors were encountered: