Skip to content

Commit

Permalink
skip some tests that never really worked in ShadyDOM
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Nov 7, 2018
1 parent ec00d26 commit e00bf99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/unit/dir.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@
});

test('elements with dir attribute explicitly set will not change', function() {
if (window.ShadyDOM && window.ShadyDOM.inUse) {
this.skip();
}
let inner = fixture('preset');
assert.equal(document.documentElement.getAttribute('dir'), 'rtl');
assertComputed(inner.shadowRoot.querySelector('.special > div'), 'rgb(255, 255, 255)', 'color');
Expand Down Expand Up @@ -245,6 +248,9 @@
});

test('complicated setup', function() {
if (window.ShadyDOM && window.ShadyDOM.inUse) {
this.skip();
}
let el = fixture('complicated');
assertComputed(el.$.direct, '10px');
assertComputed(el.$.indirect, '9px');
Expand Down

0 comments on commit e00bf99

Please sign in to comment.