diff --git a/test/unit/custom-style.html b/test/unit/custom-style.html
index 3bfece8e..8f4353e0 100644
--- a/test/unit/custom-style.html
+++ b/test/unit/custom-style.html
@@ -631,8 +631,8 @@ suite('custom-style', function() {
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 3f3c9fc2..d6994905 100644
--- a/test/unit/styling-cross-scope-apply.html
+++ b/test/unit/styling-cross-scope-apply.html
@@ -577,7 +577,7 @@ suite('scoped-styling-apply', function() {
});
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 7d9f2877..56499ed3 100644
--- a/test/unit/styling-scoped.html
+++ b/test/unit/styling-scoped.html
@@ -848,7 +848,7 @@ suite('scoped-styling', function() {
});
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();