-
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
/deep/ css selector not work in chrome browser #1583
Comments
I'm no expert, but it seems like there's no child element to a
If this is in a polymer element, try |
I may have encountered this too! I think one must use https://www.polymer-project.org/0.9/docs/migration.html#styling It notes that the attribute "can" be added not that it must be. I have witnessed it working recently with it and not working without it. :) Thanks @jongeho1 |
I didn't think ..but it does raise the question of which version of polymer is @coitomaszkolodziej using? I had assumed <0.8, so sorry if I was mistaken. Anyway, I don't know why the second example works...iinm, Am I wrong? |
Exactly as you have written your examples (no shadow roots, all elements are in the same scope), there is no difference in where the As others mentioned, at a minimum it's not clear the rule you wrote ( If your example meant that the As for the confusion about whether @coitomaszkolodziej, I am closing this based on the explanation above; please re-open if there is more to the story. Thanks. |
@kevinpschaaf Nice thorough explanation. Thanks. |
Hi,
Problem exist only in Chrome (ver. 43.0.2357.65 m) web browser.
I've got two polymer components. One component is inserted into other component - this is situation like in example below
This example should apply "test" class to all html elements which used /deep/ selector. Unfortunately this not work :( Above code work only if "div /deep/ .test" move out of edok-component:
The text was updated successfully, but these errors were encountered: