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

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/modal-dialog-generated-content.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 <style> 2 <style>
3 dialog { 3 dialog {
4 padding: 0px; 4 padding: 0px;
5 border: none; 5 border: none;
6 margin: 0px; 6 margin: 0px;
7 top: 100px; 7 top: 100px;
8 left: 100px; 8 left: 100px;
9 height: 100px; 9 height: 100px;
10 width: 100px; 10 width: 100px;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } 47 }
48 </style> 48 </style>
49 <body> 49 <body>
50 Test for a modal dialog with ::before, ::after, and ::backdrop. The test passes 50 Test for a modal dialog with ::before, ::after, and ::backdrop. The test passes
51 if there are two green boxes, one with the texts "::before" and "::after" in it. 51 if there are two green boxes, one with the texts "::before" and "::after" in it.
52 <dialog></dialog> 52 <dialog></dialog>
53 <script> 53 <script>
54 document.querySelector('dialog').showModal(); 54 document.querySelector('dialog').showModal();
55 </script> 55 </script>
56 </body> 56 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698