::shadow only applies to the shadow roots in the current tree scope, while /deep/ is a combinator which penetrates any number of shadow root boundaries. So if you have an element with #ink in nested shadow roots, only the rule with /deep/ can match.
On Wed, Sep 24, 2014 at 5:51 AM, Scott Beeson <[email protected]> wrote: > the "deep" solution doesn't work for me. Possibly because I'm using > LESS? My compiler doesn't seem to like it. The "shadow" solution does > work however. > > On Tuesday, September 23, 2014 3:49:31 PM UTC-5, Scott Beeson wrote: >> >> What is the difference between the following solutions? >> >> ::shadow #ink { .. } >> >> /deep/ #ink { .. } >> >> >> >> On Tuesday, September 23, 2014 12:16:59 PM UTC-5, Marco Scannadinari >> wrote: >>> >>> The #ink elements are within shadow DOM, so I believe: >>> >>> * /deep/ #ink { .. } >>> >>> On Tuesday, September 23, 2014 2:45:40 AM UTC+1, Scott Beeson wrote: >>>> >>>> I tried simply adding #ink to my custom CSS, but even with the >>>> !important attribute it doesn't affect anything. >>>> >>> 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/06fb1f72-6d21-4a4a-a0f5-43543a6c61cf%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/06fb1f72-6d21-4a4a-a0f5-43543a6c61cf%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Takayoshi Kochi 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/CADP2%3Dhppd4Kf3qjnuLMc4Zr4ATq7V-%3D-i8ffwaJmPYynMcMTtA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
