You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an element is registered asynchronously, under Shady DOM attached for hosted elements fires for all nested elements after all nested element observers have run. Under Shadow DOM, attached fires after each nested element's observers run. In general, attachment state is not something that should be relied on in observers (due to the fact that an element may be created outside of dom and attached later); however, the inconsistency between Shady and Shadow DOM is a subtle difference that should be eliminated if possible. Polymer should normalize to the Shady attached behavior.
This timing change breaks the contract that local dom is distributed before ready callback. If we still want this change, it will have to keep that contract.
When an element is registered asynchronously, under Shady DOM attached for hosted elements fires for all nested elements after all nested element observers have run. Under Shadow DOM, attached fires after each nested element's observers run. In general, attachment state is not something that should be relied on in observers (due to the fact that an element may be created outside of dom and attached later); however, the inconsistency between Shady and Shadow DOM is a subtle difference that should be eliminated if possible. Polymer should normalize to the Shady attached behavior.
Behavior under Shady DOM: http://jsbin.com/nudaqozari/1/edit?html,console,output.
Behavior under Shadow DOM: http://jsbin.com/bagoyihoye/edit?html,console,output.
The text was updated successfully, but these errors were encountered: