diff --git a/test/unit/dir.html b/test/unit/dir.html index e5fc8127b7..4ad3c9f6fb 100644 --- a/test/unit/dir.html +++ b/test/unit/dir.html @@ -143,9 +143,15 @@ :host-context([dir="rtl"]) :-webkit-any(.foo1, .bar1) { border: 20px solid black; } + :host-context([dir="rtl"]) :-moz-any(.foo1, .bar1) { + border: 20px solid black; + } :dir(rtl) :-webkit-any(.foo2, .bar2) { border: 20px solid black; } + :dir(rtl) :-moz-any(.foo2, .bar2) { + border: 20px solid black; + }
hello
am i red?
@@ -284,8 +290,11 @@ assertComputed(Polymer.dom(el).firstElementChild, '10px'); assertComputed(el.$.other, '5px'); assertComputed(el.$.nested, '4px'); - assertComputed(el.$.anyfoo, '20px'); - assertComputed(el.$.anybar, '20px'); + // Edge and IE don't have a `:any()` selector + if (!navigator.userAgent.match(/(?:Edge|Trident)/)) { + assertComputed(el.$.anyfoo, '20px'); + assertComputed(el.$.anybar, '20px'); + } }) });