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

Unified Diff: LayoutTests/web-animations-api/w3c/simple-keyframes.html

Issue 253963002: Web Animations API: Add layout tests for element.animate() keyframes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More keyframe tests Created 6 years, 8 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
Index: LayoutTests/web-animations-api/w3c/simple-keyframes.html
diff --git a/LayoutTests/web-animations-api/w3c/simple-keyframes.html b/LayoutTests/web-animations-api/w3c/simple-keyframes.html
index fee77a185293f826f03d3841b42079366bf5fbfe..ea534ee826f94855bc53acbc38e0ba626edb0487 100644
--- a/LayoutTests/web-animations-api/w3c/simple-keyframes.html
+++ b/LayoutTests/web-animations-api/w3c/simple-keyframes.html
@@ -3,7 +3,7 @@
<script src="../../resources/testharnessreport.js"></script>
<script src="resources/keyframes-test.js"></script>
<script>
-test(function() {
+testInRAF(function() {
assertAnimationStyles([
{opacity: '0.25', left: '25px'},
{opacity: '0.75', left: '75px'},
@@ -21,7 +21,7 @@ test(function() {
author: 'Alan Cutter',
});
-test(function() {
+testInRAF(function() {
assertAnimationStyles([
{opacity: '0', left: '0px'},
{opacity: '0.25', left: '25px'},

Powered by Google App Engine
This is Rietveld 408576698