mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Exclude all Edge versions from keyframe/font tests.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user