Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / dialog / modal-dialog-sibling.html
blob43d09758df4db4ee54ffb32ebb42d1b0ade6aaa0
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 dialog {
6 background: green;
7 border-color: green;
9 </style>
10 </head>
11 <body>
12 <p>Bug <a href="http://webkit.org/b/103477">103477</a>: Make
13 NodeRenderingContext::parentRenderer and nextRenderer top layer aware
14 <p>The test passes if you see a green rectangle in the center of the viewport.
15 <div style="display: none" id="div"></div>
16 <dialog id="dialog"></dialog>
17 <script>
18 document.getElementById('dialog').showModal();
19 document.getElementById('dialog').offsetTop; // force a layout/renderer creation
20 document.getElementById('div').style.display = 'block';
21 </script>
22 </body>
23 </html>