Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / layers / layer-content-visibility-change.html
blobf7f4fc54d5ad8ca6bfeb3f2ef9c9c7f11a3db10f
1 <div style="position: relative;">
2 <div style="width: 100px; height: 100px; background-color: red;"></div>
3 <div style="visibility: hidden; position: absolute; top: 0;">
4 <div id="inner" style="width: 100px; height: 100px; background-color: green;"></div>
5 </div>
6 </div>
7 <script src="../../resources/run-after-layout-and-paint.js"></script>
8 <script>
9 if (window.testRunner)
10 testRunner.waitUntilDone();
11 runAfterLayoutAndPaint(function() {
12 document.getElementById("inner").style.visibility = "visible";
13 if (window.testRunner)
14 testRunner.notifyDone();
15 });
16 </script>