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

Side by Side 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, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <style>
3 * {
4 margin: 0;
5 padding: 0;
6 }
7
8 .wrapper {
9 position: absolute;
10 width: 100%;
11 height: 100%;
12 will-change: transform;
13 }
14
15 .testAnimation {
16 position: absolute;
17 left: 100px;
18 top: 100px;
19 width: 100px;
20 height: 100px;
21 background: #00cc66;
22 animation: rotating 3s linear infinite;
23 }
24
25 @keyframes rotating {
26 from { transform: rotate(0deg); }
27 to { transform: rotate(360deg); }
28 }
29 </style>
30 <div class="wrapper">
31 <div class="testAnimation"></div>
32 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698