Skip to content

Commit 2ac2c6e

Browse files
committed
Extend Edge exceptions beyond Edge 16
1 parent 2729662 commit 2ac2c6e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/unit/custom-style.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,8 @@
483483
assertComputed(el, '11px', 'right');
484484
assertComputed(el, '12px', 'top');
485485

486-
// Avoid Edge 16 bug with CSS Custom Properties and Fonts.
487-
if (navigator.userAgent.match('Edge/16') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) {
486+
// Avoid Edge bug with CSS Custom Properties and Fonts.
487+
if (navigator.userAgent.match('Edge') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) {
488488
return;
489489
}
490490

test/unit/styling-cross-scope-apply.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@
588588
});
589589

590590
test('mixins apply to @keyframe rules', function(done) {
591-
if (navigator.userAgent.match('Edge/16') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) {
591+
if (navigator.userAgent.match('Edge') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) {
592592
// skip test due to missing variable support in keyframes
593593
// https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12084341/
594594
this.skip();

test/unit/styling-scoped.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@
890890
});
891891

892892
test('keyframes change scope', function(done) {
893-
if (navigator.userAgent.match('Edge/16') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) {
893+
if (navigator.userAgent.match('Edge') && (!window.ShadyCSS || window.ShadyCSS.nativeCss)) {
894894
// skip test due to missing variable support in keyframes
895895
// https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12084341/
896896
this.skip();

0 commit comments

Comments
 (0)