Skip to content

Commit

Permalink
no more undefined.hasShadow
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliott Marquez committed Apr 17, 2018
1 parent 57d4190 commit 0985652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/dom-if.html
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@
});

test('move into shadow root', function(done) {
if (undefined.hasShadow) {
if (window.ShadyCSS && window.ShadyCSS.nativeShadow) {
let el = shouldBeRemoved;
assert.equal(el.parentNode, removalContainer);
let div = document.createElement('div');
Expand Down

0 comments on commit 0985652

Please sign in to comment.