Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / dialog / modal-dialog-in-replaced-renderer.html
blob55aa086b220a5374a854681e2ad998c905824b4f
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 dialog {
6 background: green;
7 border-color: green;
9 div {
10 content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPAQMAAAABGAcJAAAAA1BMVEUAgACc+aWRAAAADElEQVR42mNgIAEAAAAtAAH7KhMqAAAAAElFTkSuQmCC);
12 </style>
13 </head>
14 <body>
15 <p>Bug <a href="http://webkit.org/b/103477">103477</a>: Make
16 NodeRenderingContext::parentRenderer and nextRenderer top layer aware
17 <p>The test passes if you see a green square near the top and green rectangle in the center of the viewport.
18 <div>
19 <dialog id="dialog"></dialog>
20 </div>
21 <script>
22 document.getElementById('dialog').showModal();
23 </script>
24 </body>
25 </html>