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

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/modal-dialog-backdrop.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 top: 100px; 4 top: 100px;
5 height: 100px; 5 height: 100px;
6 width: 100px; 6 width: 100px;
7 background: green; 7 background: green;
8 } 8 }
9 </style> 9 </style>
10 <body> 10 <body>
11 Test for the default user agent style of dialog::backdrop. The test passes if 11 Test for the default user agent style of dialog::backdrop. The test passes if
12 there is a green box, above a very lightly translucent gray box spanning the 12 there is a green box, above a very lightly translucent gray box spanning the
13 viewport. 13 viewport.
14 <dialog></dialog> 14 <dialog></dialog>
15 <script> 15 <script>
16 document.querySelector('dialog').showModal(); 16 document.querySelector('dialog').showModal();
17 </script> 17 </script>
18 </body> 18 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698