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

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/modal-dialog-distributed-child-is-not-inert.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 <script src="../../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <dialog> 7 <dialog>
8 <content></content> 8 <content></content>
9 </dialog> 9 </dialog>
10 <div id="host"> 10 <div id="host">
11 <button>Click me</button> 11 <button>Click me</button>
12 </div> 12 </div>
13 <script> 13 <script>
14 function clickOn(element) 14 function clickOn(element)
(...skipping 19 matching lines...) Expand all
34 if (event.target == button) 34 if (event.target == button)
35 testPassed('button was clicked'); 35 testPassed('button was clicked');
36 else 36 else
37 testFailed('button was not clicked'); 37 testFailed('button was not clicked');
38 finishJSTest(); 38 finishJSTest();
39 }); 39 });
40 clickOn(button); 40 clickOn(button);
41 </script> 41 </script>
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698