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

:root and :host > * should produce same styling #3991

Closed
sorvell opened this issue Sep 23, 2016 · 1 comment
Closed

:root and :host > * should produce same styling #3991

sorvell opened this issue Sep 23, 2016 · 1 comment

Comments

@sorvell
Copy link
Contributor

sorvell commented Sep 23, 2016

In Polymer 2.x :root has been replaced inside elements with :host > *. This is an indication to the custom property shim that any custom properties used in that selector should apply anywhere in the host. Polymer should make this work in 1.x to ease forward compatibility with 2.x. There are a few issues with the current behavior:

@dfreedm
Copy link
Member

dfreedm commented Sep 23, 2016

The third bullet is just a product of the second bullet.

dfreedm added a commit that referenced this issue Sep 23, 2016
Support `:host > *` as root rules for CSS Custom Properties

Fixes #3991
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

2 participants