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

Perform dom-bind work in attached/detached. Add tests. #1591

Merged
merged 1 commit into from
May 23, 2015
Merged

Conversation

kevinpschaaf
Copy link
Member

Fixes #1515.

CustomElements.takeRecords();
container.appendChild(domBind);
CustomElements.takeRecords();
assert.equal(container.firstElementChild, el1);
Copy link
Member Author

Choose a reason for hiding this comment

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

@sorvell If I don't call CustomElements.takeRecords() between remove and insert, I don't get detached/attached callbacks when moving a node in the DOM on polyfill... expected?

@sorvell sorvell merged commit e28307d into master May 23, 2015
@sorvell sorvell deleted the 1515-kschaaf branch May 23, 2015 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[0.9] dom-bind not working with document.createElement
3 participants