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

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/closed-dialog-does-not-block-mouse-events.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 #div { 5 #div {
6 height: 100px; 6 height: 100px;
7 width: 100px; 7 width: 100px;
8 background: red; 8 background: red;
9 } 9 }
10 </style> 10 </style>
11 <script src="../../../resources/js-test.js"></script> 11 <script src="../../resources/js-test.js"></script>
12 </head> 12 </head>
13 <body> 13 <body>
14 <div id="div"></div> 14 <div id="div"></div>
15 <dialog id="dialog"></dialog> 15 <dialog id="dialog"></dialog>
16 <dialog></dialog> 16 <dialog></dialog>
17 <script> 17 <script>
18 description('Test for bug 110952. Ensure that closed dialogs do not block mouse events. To test manually, click the red box. The test succeeds if the red box tu rns green.'); 18 description('Test for bug 110952. Ensure that closed dialogs do not block mouse events. To test manually, click the red box. The test succeeds if the red box tu rns green.');
19 19
20 function clickOn(element) 20 function clickOn(element)
21 { 21 {
(...skipping 27 matching lines...) Expand all
49 div.firedOn = true; 49 div.firedOn = true;
50 div.style.backgroundColor = 'green'; 50 div.style.backgroundColor = 'green';
51 }); 51 });
52 52
53 clickOn(div); 53 clickOn(div);
54 54
55 shouldBeTrue('div.firedOn'); 55 shouldBeTrue('div.firedOn');
56 </script> 56 </script>
57 </body> 57 </body>
58 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698