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

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/non-modal-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 <script> 16 <script>
17 description('Test for bug 110952. Ensure that non-modal dialogs do not block mou se events. To test manually, click the red box. The test succeeds if the red box turns green.'); 17 description('Test for bug 110952. Ensure that non-modal dialogs do not block mou se events. To test manually, click the red box. The test succeeds if the red box turns green.');
18 18
19 function clickOn(element) 19 function clickOn(element)
20 { 20 {
21 if (!window.eventSender) 21 if (!window.eventSender)
(...skipping 26 matching lines...) Expand all
48 div.firedOn = true; 48 div.firedOn = true;
49 div.style.backgroundColor = 'green'; 49 div.style.backgroundColor = 'green';
50 }); 50 });
51 51
52 clickOn(div); 52 clickOn(div);
53 53
54 shouldBeTrue('div.firedOn'); 54 shouldBeTrue('div.firedOn');
55 </script> 55 </script>
56 </body> 56 </body>
57 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698