You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Structural selectors like this are problematic in the context of non-native projection. Instead, it's better to select the element directly (e.g. span). Because an element's css is scoped to element's local dom structural selectors should be needed much less than previously. It is possible to use a descendant selector but it's better for performance to select the element explicitly.
Consider the following Polymer custom element template:
In ShadeyDOM, the style selector will be rewritten to:
But since paper-button projects its content into a child of its own shadow / shade, the DOM will be arranged analogously to this:
And the rule will no longer match.
The text was updated successfully, but these errors were encountered: