It's completely true that ShadowDOM Polyfill wraps *all* nodes when it's
enabled. This is necessary to keep it (99%) transparent.

But for the record, x-tags or custom-elements will not automatically start
using shadow roots. IOW, you don't get shadow dom *encapsulation* unless
you ask for it.

If this distinction is confusing to anybody, please follow up.

Scott


On Mon, Jan 27, 2014 at 8:28 AM, Erik Arvidsson <[email protected]> wrote:

> Yes, once you start using the Shadow DOM polyfill all nodes needs to be
> wrapped by the Shadow DOM polyfill.
>
>
> On Thu, Jan 23, 2014 at 2:29 PM, Ian Duncanson <
> [email protected]> wrote:
>
>> Sorry if this post is duplicated, have been having troubles posting
>> questions. If you mix some polymer elements on the same page with other
>> elements created using the raw custom elements polyfill and / or x-tags and
>> / or your own library based just on the custom elements polyfill (basically
>> any implementation of custom elements that doesn't include the shadow dom
>> polyfill), will those elements automatically also get "wrapped" in polymer
>> wrappers because of the presence of the polymers elements on the same page?
>> In other words, will the custom elements.polyfill for say your x-tags
>> components suddenly start using the shadow dom polyfill ?
>>
>> Regards Ian
>>
>> 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/9551f527-58d7-4518-a214-b507a79dd5ec%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> --
> erik
>
>
>  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/CAJ8%2BGoiv%2BYzmOqmpsyx0qwBrTbu3T1TB6xZXoLt7L0ioq0Qc5g%40mail.gmail.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

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/CAHbmOLba2zJGmcPjVw_WoR_GupE8xj3Kf8Umg4pUYVOzAmt2Cw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to