Here are some more details on the shimming the SD polyfill provides:
http://www.polymer-project.org/docs/polymer/styling.html#polyfill-details


On Fri, May 23, 2014 at 9:30 AM, 'Steve Orvell' via Polymer <
[email protected]> wrote:

> Oops, mistakenly hit send there (darn gmail). I meant to say, this is
> correct.
>
> Polymer provides an approximation shim for the style encapsulation
> ShadowDOM provides, and what you're seeing is one negative side effect:
> styles leak 'in' to polyfilled shadowRoot's. Unfortunately, polyfilling
> styles correctly would make performance unacceptable.
>
> As a result, on polyfilled platforms, you'll need to take care to use
> selectors that do not leak into polyfilled shadowRoots.
>
>
> On Fri, May 23, 2014 at 9:23 AM, Steve Orvell <[email protected]> wrote:
>
>>  Is it something todo with chrome implementing shadow dom polymer filling
>>> in for the other browsers?
>>
>>
>> That's correct.
>>
>>
>> On Fri, May 23, 2014 at 9:21 AM, <[email protected]> wrote:
>>
>>> I have been furthering my investigations into polymer so far so good but
>>> I have been thrown a little sideways,
>>> To my knowledge styles cannot bleed out of a custom element and
>>> applyAuthorStyles is now deprecated so styles cannot bleed in unless using
>>> ::shadow / deep piercings.
>>>
>>> This is the case with chrome but testing with Safari Firefox IE10 I get
>>> different results the styles defined within my global css leak into my
>>> custom elements. Is this the correct behaviour. Is it something todo with
>>> chrome implementing shadow dom polymer filling in for the other browsers?
>>>
>>> Regards
>>>
>>> Da.
>>>
>>> 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/b809c2f8-2891-404d-b9d0-88005503b8dc%40googlegroups.com<https://groups.google.com/d/msgid/polymer-dev/b809c2f8-2891-404d-b9d0-88005503b8dc%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%2BrMWZhySh%3DfRTLNWSYCXy1ZtO7%3D2GaoW-0cZtz%2BNss6LsoM%2BA%40mail.gmail.com<https://groups.google.com/d/msgid/polymer-dev/CA%2BrMWZhySh%3DfRTLNWSYCXy1ZtO7%3D2GaoW-0cZtz%2BNss6LsoM%2BA%40mail.gmail.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/CACGqRCCA1tCEQXRCSh3Gcm60uEph%2B-wxxCrkj%3Dtjxy89inGGgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to