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

Unified Diff: LayoutTests/animations/animation-paused-hardware-expected.html

Issue 159733003: Don't run paused animations on the compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add automated test. Created 6 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 | « LayoutTests/animations/animation-paused-hardware.html ('k') | Source/core/animation/Player.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/animation-paused-hardware-expected.html
diff --git a/LayoutTests/animations/animation-paused-hardware-expected.html b/LayoutTests/animations/animation-paused-hardware-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..63e8f1510af9063ee1f0496b2afa91f38db95776
--- /dev/null
+++ b/LayoutTests/animations/animation-paused-hardware-expected.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<html>
+<head>
+ <title>Test that paused composited animations do not animate</title>
+ <style>
+ #box {
+ background-color: coral;
+ height: 100px;
+ width: 100px;
+ opacity: 1.0;
+ }
+ </style>
+</head>
+<body>
+ <div id="box"></div>
+ <div id="result">
+ Warning this test is running in real-time and may be flaky.<br>
+ PASS - "opacity" property for "box" element at 0.2s saw something close to: 1
+ </div>
+</body>
+</html>
« no previous file with comments | « LayoutTests/animations/animation-paused-hardware.html ('k') | Source/core/animation/Player.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698