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();