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

Unified Diff: third_party/WebKit/LayoutTests/compositing/layer-creation/resources/iframe-spinning-cube.html

Issue 2010963003: Restart any animations when we allocate a composited layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Working on test. Created 4 years, 7 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: third_party/WebKit/LayoutTests/compositing/layer-creation/resources/iframe-spinning-cube.html
diff --git a/third_party/WebKit/LayoutTests/compositing/layer-creation/resources/iframe-spinning-cube.html b/third_party/WebKit/LayoutTests/compositing/layer-creation/resources/iframe-spinning-cube.html
new file mode 100644
index 0000000000000000000000000000000000000000..acc04008c8d0519c34317491eb010d12b4730af8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/layer-creation/resources/iframe-spinning-cube.html
@@ -0,0 +1,32 @@
+<!doctype html>
+<style>
+* {
+ margin: 0;
+ padding: 0;
+}
+
+.wrapper {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ will-change: transform;
+}
+
+.testAnimation {
+ position: absolute;
+ left: 100px;
+ top: 100px;
+ width: 100px;
+ height: 100px;
+ background: #00cc66;
+ animation: rotating 3s linear infinite;
+}
+
+@keyframes rotating {
+ from { transform: rotate(0deg); }
+ to { transform: rotate(360deg); }
+}
+</style>
+<div class="wrapper">
+ <div class="testAnimation"></div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698