Chromium Code Reviews| 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> |