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

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/backdrop-dynamic-style-change.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 visibility: hidden; 6 visibility: hidden;
7 } 7 }
8 8
9 ::backdrop { 9 ::backdrop {
10 position: absolute; 10 position: absolute;
(...skipping 12 matching lines...) Expand all
23 <body> 23 <body>
24 Test dynamic changes to ::backdrop style. The test passes if there is a green bo x below. 24 Test dynamic changes to ::backdrop style. The test passes if there is a green bo x below.
25 <dialog></dialog> 25 <dialog></dialog>
26 <script> 26 <script>
27 dialog = document.querySelector('dialog'); 27 dialog = document.querySelector('dialog');
28 dialog.showModal(); 28 dialog.showModal();
29 dialog.classList.add('green'); 29 dialog.classList.add('green');
30 </script> 30 </script>
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698