We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This bug is affecting the Chromium codebase, tracked here.
Offending commit is 1cc06fc
Minimal repro example
<html> <body> <script> Polymer = { dom: 'shadow', lazyRegister: true, suppressBindingNotifications: true, suppressTemplateNotifications: true, useNativeCSSProperties: true, }; </script> <link href="./dist/polymer.html" rel="import"> <dom-module id="x-example"> <template> <style> :host-context([dir=rtl]) :-webkit-any(.b1, .b2) { background-color: red; } :-webkit-any(.b1, .b2) { background-color: yellow; } </style> <div class="b1">I should be yellow</div> <div class="b2">I should be yellow</div> </template> </dom-module> <x-example></x-example> <script> Polymer({is: 'x-example'}); </script> </body> </html>
Inspecting the code reveals that the following block
:host-context([dir=rtl]) :-webkit-any(.b1, .b2) { ... }
is erroneously transformed to
:host-context([dir=rtl]) :-webkit-any(.b1, [dir=rtl] :-webkit-any(.b1, .b2) { ... }
Note that the latter, besides not making much sense, is missing a closing parenthesis, causing every style below it to be ignored.
cc @azakus, @kevinpschaaf
The text was updated successfully, but these errors were encountered:
Handle :-webkit-any selectors correctly
9f3ff4e
Fixes #4984
Fixed in #4990
Sorry, something went wrong.
@azakus Do you know whether this fix needs to be ported to e.g. dir-mixin in 2.x?
dir-mixin
dfreedm
No branches or pull requests
This bug is affecting the Chromium codebase, tracked here.
Offending commit is 1cc06fc
Minimal repro example
Inspecting the code reveals that the following block
is erroneously transformed to
Note that the latter, besides not making much sense, is missing a closing parenthesis, causing every style below it to be ignored.
cc @azakus, @kevinpschaaf
The text was updated successfully, but these errors were encountered: