Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
Adapt scoped keyframes test for Safari 11 still failing on https://bugs.webkit.org/show_bug.cgi?id=166748
  • Loading branch information
dfreedm committed Oct 11, 2017
1 parent 31c0ebc commit 624189a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/unit/dir.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
static get is() {return 'x-inner-dir';}
}
customElements.define(XInnerDir.is, XInnerDir);
})
});
</script>
</dom-module>

Expand Down
2 changes: 1 addition & 1 deletion test/unit/styling-cross-scope-var.html
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@
});

test('instances of scoped @keyframes', function(done) {
if (navigator.userAgent.match(/Safari\/603/) && ShadyCSS.nativeCss && ShadyCSS.nativeShadow) {
if (navigator.userAgent.match(/Safari\/60(3|4)/) && ShadyCSS.nativeCss && ShadyCSS.nativeShadow) {
// `:nth-of-type` is broken in shadow roots on Safari 10.1
// https://bugs.webkit.org/show_bug.cgi?id=166748
this.skip();
Expand Down

0 comments on commit 624189a

Please sign in to comment.