Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |