-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Local DOM rules with multiple selectors are shimmed incorrectly #3555
Comments
…ent`, while keeping the same processing under the hood
OK, I can see the core issue here, but I think the reported issue is unrelated to There are two errors in the original plunk: One of the custom elements has a This rule:
Gets incorrectly shimmed as:
|
:host
before ::content
Can confirm this issue. The correct shimming for this case is:
The automatic
|
…inside a complex selector are shimmed correctly and do not leak styling to the global scope.
Description
Shared styles to global scope if we used multiple selectors (one usual, and one with
::content
) in one CSS rule.Or i have to write only selectors
::content selector
if i'll use dynamically added content (elements).Maybe related to this fix d9f3dda
Also it's only for
shady
DOM ;)Live Demo
http://plnkr.co/edit/9RFUOiZNOsL0WNJ16iqT?p=preview
Steps to Reproduce
:host
before::content
.button, ::content button {}
Expected Results
Actual Results
Browsers Affected
Versions
The text was updated successfully, but these errors were encountered: