Unless spec changes, ":root" only matches the document root (i.e.
document.documentElement or <html>)
and shadow root doesn't match.

On Fri, Apr 8, 2016 at 5:46 AM, <[email protected]> wrote:

> Hi
>
> I don't know if ":root"/"html" styling inside a template styling should
> work, but it is useful and makes sense for encapsulation, no?
> In my case, I want to use the "rem" size units, only inside the custom
> Polymer element, and relative to the wrapper/host font-size, but it doesn't
> seem to work
>
> Am I missing something? Such functionality won't be possible?
>
> Thankss
>
> 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/1c73eb5b-7b6c-41bc-8ed5-dd9bb59f78a6%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/1c73eb5b-7b6c-41bc-8ed5-dd9bb59f78a6%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%3Dho7wNtfX_3Y665BHnjuHTj_32_3v9jFRRno84cFDd9qFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to