I came across an issue today in some styling that worked under native 
Shadow DOM, but didn't work under the polyfill.

A repro case (http://jsbin.com/sukek/4/edit) shows that it's possible to 
style a <content> node in native Shadow DOM, because the content node 
actually exists in the DOM. The polyfill doesn't actually put a node in the 
DOM to represent a <content> node. So one can't reference it in CSS 
selectors, refer to it with this.$.id, etc.

One can work around these problems, but I didn't see any of this <content> 
node polyfilling details captured in the useful Polyfill 
Details<http://www.polymer-project.org/platform/shadow-dom.html#polyfill-details>
 section. 
It'd be helpful to add a bit about how distribution works in the polyfill, 
and mention that <content> nodes won't actually end up in the DOM.

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/d9e10190-f3bd-4aea-ba70-cadad61246f9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to