
Loading…
CSS class names with BEM modifiers not processed correctly in custom-style by Polymer when inside a media query #2639
baseten
commented
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a simple test case the following CSS inside shared-styles.css is imported as a custom-style:
After this is processed by Polymer (using version 1.2.0) it is output in the head like so:
Notice the
:not([style-scope]):not(.style-scope)part is missing from.foo--barwithin the media query, which means the rule with never be applied as it's specificity is too low to override the rule outside the media query.