Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
test: fix tests for polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Nov 11, 2014
1 parent 3cdffde commit a25f6c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/decorator.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
assert.ok(!d3._labelVisible);
fake.downOnNode(d1.shadowRoot.querySelector('.floated-label'));
flush(function() {
assert.strictEqual(document.activeElement, i1);
assert.strictEqual(window.ShadowDOMPolyfill ? wrap(document.activeElement) : document.activeElement, i1);
done();
})
});
Expand Down

0 comments on commit a25f6c5

Please sign in to comment.