Yes, it was changed to match the spec here:
http://dev.w3.org/csswg/shadow-styling/.
The ::content pseudo-element was removed. The /content/ combinator was
added. So your rule could be:
content /content/ * { color: red; }
Note, a combinator must have some selector to the left of it.
In addition the ^ and ^^ combinators were renamed to /shadow/ and
/shadow-deep/.
Hope that helps.
On Fri, Mar 14, 2014 at 5:08 PM, Jan Miksovsky <[email protected]> wrote:
> I just upgraded Canary to 35.0.1892.2, and CSS rules with ::content CSS
> selectors no longer seem to be applied as expected. I'm wondering if the
> ::content syntax changed recently.
>
> As far as I know, the syntax for ::content looks like:
>
> ::content * {
> color: red;
> }
>
> This is what's shown in the Guide to Styling article on the Polymer site,
> for example.
>
> Repro: http://jsbin.com/gacogeda/1/edit. This jsbin works in an older
> Canary (35.0.1887.0), but not in the latest Canary.
>
> I also happened to notice a recent Polymer checkin that used a different
> content syntax like:
>
> ::content(*) {
> }
>
> But I haven't seen a breaking change announcement anywhere — did I miss it?
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/ad7d90f6-16de-43b2-9ce1-20d019f6ff36%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/ad7d90f6-16de-43b2-9ce1-20d019f6ff36%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/CA%2BrMWZh87%2BqzDyn7%2B%3Dy-hwokH65zRyqna521DFkUsbNBXRm5eg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.