
Loading…
Style shim only converts a single ::shadow or /deep/ in a selector #1809
jyasskin
commented
Owner
sorvell
commented
Please note that ::shadow and /deep/ are being removed from the cross scope styling spec. They may become deprecated in Chrome soon.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See http://plnkr.co/edit/DCLtFWbGN0RrIDVSikrB?p=preview for an example. Only the first
::shadowor/deep/is getting removed from the style rules. On Chrome (with native support for/deep/, that means the background color gets stuck after the first nesting level. On Firefox, both the foreground and background colors get stuck there.in the custom element stylesheet becomes the following in the document stylesheet: