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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/layer-creation/toggle-animated-iframe-visibility.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 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <div id="container">
4 <iframe id="frameContainer" src="./resources/iframe-spinning-cube.html" style= "width: 300px; height: 300px; position: absolute; top: 30px; left: 30px;" frameB order="0"></iframe>
5 </div>
6 <script>
7 window.onload = function() {
8 if (window.testRunner)
9 testRunner.waitUntilDone();
10
11 runAfterLayoutAndPaint(function() {
wkorman 2016/05/28 00:59:44 This test reproduces the issue run locally in cont
12 container.style.visibility = 'hidden';
13 runAfterLayoutAndPaint(function() {
14 container.style.visibility = 'visible';
15 runAfterLayoutAndPaint(function() {
16 if (window.testRunner)
17 testRunner.notifyDone();
18 });
19 });
20 });
21 };
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698