Edge: :root
selector won't work if combined with another selector
#1801
Labels
ionitron: stale issue
This issue has not seen any activity for a long period of time
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
If you have a CSS
:root
selector combined with another selector, the statements defined within the CSS selector will not work in edge.I'm guessing this has something to do with how the polyfill is working for Edge. My guess is that the polyfill doesn't know what to do when there are multiple CSS selectors and one of them is using
:host
.For example:
Expected behavior:
I would expect
:root
to work if combined with multiple selectors.Steps to reproduce:
For example:
Other information:
If you are using Sass, you need to check to output CSS to make sure that the selectors are not combined into a single statement. For example, we had the following which did not work in Edge.
But converting it to this fixed the issue:
thinking maybe it has to do with this: https://medium.com/@jonathanabrams/be-wary-of-the-css-comma-selector-and-pseudo-classes-688c02320e7f
The text was updated successfully, but these errors were encountered: