Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

Fix embeded templates#49

Open
Trakkasure wants to merge 14 commits intoPolymerElements:masterfrom
Trakkasure:fix-embeded-templates
Open

Fix embeded templates#49
Trakkasure wants to merge 14 commits intoPolymerElements:masterfrom
Trakkasure:fix-embeded-templates

Conversation

@Trakkasure
Copy link
Copy Markdown

Fixes issue request #47 also added test to test deep repeat template embedding.

Brandon Myers and others added 14 commits July 24, 2015 22:56
… querySelectorAll to find selectable nodes.
…DistributedElements

Tests failing in firefox are because the page isn't ready. Added WebComponentsReady.
Repeat tests fail polymer's "set" wasn't used in test.
… querySelectorAll to find selectable nodes.
…DistributedElements

Tests failing in firefox are because the page isn't ready. Added WebComponentsReady.
Repeat tests fail polymer's "set" wasn't used in test.
Comment thread iron-selectable.html
var nodes = Polymer.dom(this).queryDistributedElements(this.selectable || '*');
var nodes;
if (this.selectable)
nodes = this.querySelectorAll(this.selectable);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think native querySelectorAll is how we should find items given that it won't be possible to perform selection into the composed tree when using native shadow DOM.

@bicknellr
Copy link
Copy Markdown
Contributor

Sorry I don't have a ton to say at the moment, there's a handful of other PRs I'm in the middle of checking out. The intended use case for this PR is pretty strictly nested templates and not general selection of descendants, right?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants