mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Fix shadow dom test.
This commit is contained in:
parent
4b7da35738
commit
6b839112c7
@ -679,12 +679,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||||||
var frag = div.createShadowRoot();
|
var frag = div.createShadowRoot();
|
||||||
Polymer.dom(frag).appendChild(toBeRemoved);
|
Polymer.dom(frag).appendChild(toBeRemoved);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
assert.equal(el.parentNode, null);
|
assert.equal(el.parentNode, frag);
|
||||||
Polymer.dom(removalContainer).appendChild(frag);
|
done();
|
||||||
setTimeout(function() {
|
|
||||||
assert.equal(shouldBeRemoved.parentNode, removalContainer);
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
done();
|
done();
|
||||||
|
Loading…
Reference in New Issue
Block a user