Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / fast / layers / layer-content-visibility-change.html
blob4949a276daf9cf9e636b3d24a3a7bbdec56dc07a
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>
8 function test()
10 document.getElementById("inner").style.visibility = "visible";
12 if (window.layoutTestController) {
13 document.body.offsetTop;
14 layoutTestController.display();
15 test();
16 } else
17 setTimeout(test, 0);
18 </script>