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