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

Unified 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, 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/toggle-animated-iframe-visibility.html
diff --git a/third_party/WebKit/LayoutTests/compositing/layer-creation/toggle-animated-iframe-visibility.html b/third_party/WebKit/LayoutTests/compositing/layer-creation/toggle-animated-iframe-visibility.html
new file mode 100644
index 0000000000000000000000000000000000000000..ac8158adb0d66a7a0f8ae0d47c61760fcf173a51
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/layer-creation/toggle-animated-iframe-visibility.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<div id="container">
+ <iframe id="frameContainer" src="./resources/iframe-spinning-cube.html" style="width: 300px; height: 300px; position: absolute; top: 30px; left: 30px;" frameBorder="0"></iframe>
+</div>
+<script>
+window.onload = function() {
+ if (window.testRunner)
+ testRunner.waitUntilDone();
+
+ runAfterLayoutAndPaint(function() {
wkorman 2016/05/28 00:59:44 This test reproduces the issue run locally in cont
+ container.style.visibility = 'hidden';
+ runAfterLayoutAndPaint(function() {
+ container.style.visibility = 'visible';
+ runAfterLayoutAndPaint(function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ });
+ });
+};
+</script>

Powered by Google App Engine
This is Rietveld 408576698