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
The following HTML page causes a TypeError when loaded:
<!DOCTYPE html><html><head><script>varPolymer=Polymer||{};// Uncomment and the error disappears.// Polymer.dom = 'shadow';</script><scriptsrc="../webcomponentsjs/webcomponents-lite.js"></script><linkrel="import" href="../polymer/polymer.html"></head><body><!-- Define test element --><dom-moduleid="test-elem1"><template><content></content></template></dom-module><dom-moduleid="test-elem2"><template><test-elem1><templateis="dom-if" if="true"><content></content></template></test-elem1></template></dom-module><script>Polymer({is: 'test-elem1',});Polymer({is: 'test-elem2',});</script><!-- if using native shadow DOM, works correctly, showing "Hello, World!". with shady DOM, causes a TypeError in clearDistributedDestinationInsertionPoints(). --><test-elem2id="foo"><div>Hello, World!</div></test-elem2></body></html>
I've tested this in Chrome. Firefox was a little pickier with my code, so I can't say for certain that it also raises an error, but I suspect so.
The text was updated successfully, but these errors were encountered:
kevinpschaaf
changed the title
Content nodes in template in another custom element do not distribute correctly
Content nodes in dom-if template do not distribute correctly
Jun 7, 2015
The following HTML page causes a TypeError when loaded:
I've tested this in Chrome. Firefox was a little pickier with my code, so I can't say for certain that it also raises an error, but I suspect so.
The text was updated successfully, but these errors were encountered: