diff options
Diffstat (limited to 'testing/web-platform/tests/web-animations')
-rw-r--r-- | testing/web-platform/tests/web-animations/responsive/toggle-animated-iframe-visibility.html | 1 | ||||
-rw-r--r-- | testing/web-platform/tests/web-animations/testcommon.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/testing/web-platform/tests/web-animations/responsive/toggle-animated-iframe-visibility.html b/testing/web-platform/tests/web-animations/responsive/toggle-animated-iframe-visibility.html index f50ffaad34..b5c32f26d8 100644 --- a/testing/web-platform/tests/web-animations/responsive/toggle-animated-iframe-visibility.html +++ b/testing/web-platform/tests/web-animations/responsive/toggle-animated-iframe-visibility.html @@ -1,6 +1,7 @@ <!DOCTYPE html> <html class="reftest-wait"> <meta name="assert" content="This should resume the animation after unhiding the iframe."> +<meta name="fuzzy" content="1;0-50"> <title>CSS Test (Animations): Unhiding iframe visibility should restart animation. </title> <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=616270"> <link rel="match" href="toggle-animated-iframe-visibility-ref.html"> diff --git a/testing/web-platform/tests/web-animations/testcommon.js b/testing/web-platform/tests/web-animations/testcommon.js index 5b22c658d5..b431b213db 100644 --- a/testing/web-platform/tests/web-animations/testcommon.js +++ b/testing/web-platform/tests/web-animations/testcommon.js @@ -331,7 +331,7 @@ function assert_phase(animation, phase) { // crbug.com/1378671 async function waitForCompositorReady() { const animation = - document.body.animate({ opacity: [ 1, 1 ] }, {duration: 1 }); + document.body.animate({ opacity: [ 0, 1 ] }, {duration: 1 }); return animation.finished; } |