Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(736)

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/modal-dialog-sibling.html

Issue 2671603003: Move DIALOG element tests to html/dialog/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 dialog { 5 dialog {
6 background: green; 6 background: green;
7 border-color: green; 7 border-color: green;
8 } 8 }
9 </style> 9 </style>
10 </head> 10 </head>
11 <body> 11 <body>
12 <p>Bug <a href="http://webkit.org/b/103477">103477</a>: Make 12 <p>Bug <a href="http://webkit.org/b/103477">103477</a>: Make
13 NodeRenderingContext::parentRenderer and nextRenderer top layer aware 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. 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> 15 <div style="display: none" id="div"></div>
16 <dialog id="dialog"></dialog> 16 <dialog id="dialog"></dialog>
17 <script> 17 <script>
18 document.getElementById('dialog').showModal(); 18 document.getElementById('dialog').showModal();
19 document.getElementById('dialog').offsetTop; // force a layout/renderer creatio n 19 document.getElementById('dialog').offsetTop; // force a layout/renderer creatio n
20 document.getElementById('div').style.display = 'block'; 20 document.getElementById('div').style.display = 'block';
21 </script> 21 </script>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698