native webkit Shadow and CustomElements polyfill in Chrome Stable

43 views
Skip to first unread message

Simon Last

unread,
Feb 4, 2014, 2:26:26 PM2/4/14
to polym...@googlegroups.com
I'm having some trouble getting the attachedCallback lifecycle callback to fire in Chrome stable with native Shadow DOM and the CustomElements polyfill.

Example:

Thanks!

Simon

Daniel Freedman

unread,
Feb 4, 2014, 3:22:38 PM2/4/14
to Simon Last, polymer-dev
I believe that stable Chrome has an older version of attachedCallback named enteredViewCallback. These names changed rather recently in the spec.

For the record, we don't officially support this combination (prefixed SD + CE Polyfill) in Polymer because the prefixed shadowRoot is based on a really old version of the spec.


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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/565f7f86-a6e4-4561-9d82-f1e386e5d122%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Simon Last

unread,
Feb 4, 2014, 4:12:23 PM2/4/14
to polym...@googlegroups.com, Simon Last
I see. Do you know what the differences between the old and new specs are?

We are trying this combination because MutationObservers on text nodes on Polymer Platform seem to be broken.
Reply all
Reply to author
Forward
0 new messages