Drop obsolete HTMLDocument.width / height attributes
[WebKit-https.git] / LayoutTests / imported / blink / dialog / modal-dialog-in-replaced-renderer.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 dialog {
6     background: green;
7     border-color: green;
8 }
9 div {
10     content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPAQMAAAABGAcJAAAAA1BMVEUAgACc+aWRAAAADElEQVR42mNgIAEAAAAtAAH7KhMqAAAAAElFTkSuQmCC);
11 }
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>