From 852788609346384ffc8c434f679e9b9a01c1e447 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Fri, 4 May 2018 09:45:44 -0700 Subject: [PATCH] Exclude all Edge versions from keyframe/font tests. --- test/unit/custom-style.html | 4 ++-- test/unit/styling-cross-scope-apply.html | 2 +- test/unit/styling-scoped.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unit/custom-style.html b/test/unit/custom-style.html index 3bfece8e0e..8f4353e051 100644 --- a/test/unit/custom-style.html +++ b/test/unit/custom-style.html @@ -631,8 +631,8 @@ assertComputed(el, '11px', 'right'); assertComputed(el, '12px', 'top'); - // Avoid Edge 16 bug with CSS Custom Properties and Fonts. - if (navigator.userAgent.match('Edge/16') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) { + // Avoid Edge bug with CSS Custom Properties and Fonts. + if (navigator.userAgent.match('Edge') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) { return; } diff --git a/test/unit/styling-cross-scope-apply.html b/test/unit/styling-cross-scope-apply.html index 3f3c9fc240..d6994905c6 100644 --- a/test/unit/styling-cross-scope-apply.html +++ b/test/unit/styling-cross-scope-apply.html @@ -577,7 +577,7 @@ }); test('mixins apply to @keyframe rules', function(done) { - if (navigator.userAgent.match('Edge/16') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) { + if (navigator.userAgent.match('Edge') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) { // skip test due to missing variable support in keyframes // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12084341/ this.skip(); diff --git a/test/unit/styling-scoped.html b/test/unit/styling-scoped.html index 7d9f287752..56499ed3ca 100644 --- a/test/unit/styling-scoped.html +++ b/test/unit/styling-scoped.html @@ -848,7 +848,7 @@ }); test('keyframes change scope', function(done) { - if (navigator.userAgent.match('Edge/16') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) { + if (navigator.userAgent.match('Edge') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) { // skip test due to missing variable support in keyframes // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12084341/ this.skip();