Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/change-in-animation-frame.html

Issue 1705103004: Web Animations: Avoid flakiness in change-in-animation-frame test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/web-animations-api/change-in-animation-frame.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/change-in-animation-frame.html b/third_party/WebKit/LayoutTests/web-animations-api/change-in-animation-frame.html
index 54de29f12adc91433562c957a333666cadac53f5..e9f96347bc5c0b90919ea3b607e8e5e72308c819 100644
--- a/third_party/WebKit/LayoutTests/web-animations-api/change-in-animation-frame.html
+++ b/third_party/WebKit/LayoutTests/web-animations-api/change-in-animation-frame.html
@@ -8,8 +8,8 @@ if (window.testRunner) {
}
requestAnimationFrame(function() {
- document.getElementById('pass').animate([{visibility: 'visible'}, {visibility: 'visible'}], 10);
- document.getElementById('fail').animate([{visibility: 'hidden'}, {visibility: 'hidden'}], 10);
+ document.getElementById('pass').animate([{visibility: 'visible'}, {visibility: 'visible'}], {fill: 'forwards'});
+ document.getElementById('fail').animate([{visibility: 'hidden'}, {visibility: 'hidden'}], {fill: 'forwards'});
if (window.testRunner) {
testRunner.notifyDone();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698