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() {
|
test('elements with dir attribute explicitly set will not change', function() {
|
||||||
|
if (window.ShadyDOM && window.ShadyDOM.inUse) {
|
||||||
|
this.skip();
|
||||||
|
}
|
||||||
let inner = fixture('preset');
|
let inner = fixture('preset');
|
||||||
assert.equal(document.documentElement.getAttribute('dir'), 'rtl');
|
assert.equal(document.documentElement.getAttribute('dir'), 'rtl');
|
||||||
assertComputed(inner.shadowRoot.querySelector('.special > div'), 'rgb(255, 255, 255)', 'color');
|
assertComputed(inner.shadowRoot.querySelector('.special > div'), 'rgb(255, 255, 255)', 'color');
|
||||||
@@ -245,6 +248,9 @@ suite(':dir', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('complicated setup', function() {
|
test('complicated setup', function() {
|
||||||
|
if (window.ShadyDOM && window.ShadyDOM.inUse) {
|
||||||
|
this.skip();
|
||||||
|
}
|
||||||
let el = fixture('complicated');
|
let el = fixture('complicated');
|
||||||
assertComputed(el.$.direct, '10px');
|
assertComputed(el.$.direct, '10px');
|
||||||
assertComputed(el.$.indirect, '9px');
|
assertComputed(el.$.indirect, '9px');
|
||||||
|
|||||||
Reference in New Issue
Block a user