Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix embeded templates #49

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

Trakkasure
Copy link

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.
var nodes = Polymer.dom(this).queryDistributedElements(this.selectable || '*');
var nodes;
if (this.selectable)
nodes = this.querySelectorAll(this.selectable);
Copy link
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
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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants