Exclude all Edge versions from keyframe/font tests.

This commit is contained in:
Kevin Schaaf
2018-05-04 09:45:44 -07:00
parent 4805e31f1c
commit 8527886093
3 changed files with 4 additions and 4 deletions

View File

@@ -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;
}

View File

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

View File

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