-
Notifications
You must be signed in to change notification settings - Fork 55
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
base: master
Are you sure you want to change the base?
Fix embeded templates #49
Conversation
… querySelectorAll to find selectable nodes.
…be tests should be fixed.
…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.
Bring master up to date.
… querySelectorAll to find selectable nodes.
…be tests should be fixed.
…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.
…lector into fix-embeded-templates
var nodes = Polymer.dom(this).queryDistributedElements(this.selectable || '*'); | ||
var nodes; | ||
if (this.selectable) | ||
nodes = this.querySelectorAll(this.selectable); |
There was a problem hiding this comment.
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.
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? |
Fixes issue request #47 also added test to test deep repeat template embedding.