| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |