mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
skip some tests that never really worked in ShadyDOM
This commit is contained in:
@@ -217,6 +217,9 @@ suite(':dir', function() {
|
||||
});
|
||||
|
||||
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');
|
||||
@@ -245,6 +248,9 @@ suite(':dir', function() {
|
||||
});
|
||||
|
||||
test('complicated setup', function() {
|
||||
if (window.ShadyDOM && window.ShadyDOM.inUse) {
|
||||
this.skip();
|
||||
}
|
||||
let el = fixture('complicated');
|
||||
assertComputed(el.$.direct, '10px');
|
||||
assertComputed(el.$.indirect, '9px');
|
||||
|
||||
Reference in New Issue
Block a user