| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 #inert-div { | 5 #inert-div { |
| 6 height: 100px; | 6 height: 100px; |
| 7 width: 100px; | 7 width: 100px; |
| 8 background: blue; | 8 background: blue; |
| 9 } | 9 } |
| 10 | 10 |
| 11 dialog { | 11 dialog { |
| 12 width: 100px; | 12 width: 100px; |
| 13 } | 13 } |
| 14 | 14 |
| 15 dialog::backdrop { |
| 16 display: none; |
| 17 } |
| 18 |
| 15 #dialog-div { | 19 #dialog-div { |
| 16 height: 100px; | 20 height: 100px; |
| 17 width: 100px; | 21 width: 100px; |
| 18 background: red; | 22 background: red; |
| 19 } | 23 } |
| 20 </style> | 24 </style> |
| 21 <script src="../../js/resources/js-test-pre.js"></script> | 25 <script src="../../js/resources/js-test-pre.js"></script> |
| 22 </head> | 26 </head> |
| 23 <body> | 27 <body> |
| 24 <div id="inert-div"></div> | 28 <div id="inert-div"></div> |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 shouldBe('Object.keys(body.firedOnEvents).length', 'events.length'); | 97 shouldBe('Object.keys(body.firedOnEvents).length', 'events.length'); |
| 94 | 98 |
| 95 debug('Clicking on non-inert box'); | 99 debug('Clicking on non-inert box'); |
| 96 clickOn(dialogDiv); | 100 clickOn(dialogDiv); |
| 97 shouldBeFalse('inertDiv.firedOn'); | 101 shouldBeFalse('inertDiv.firedOn'); |
| 98 shouldBe('Object.keys(dialogDiv.firedOnEvents).length', 'events.length'); | 102 shouldBe('Object.keys(dialogDiv.firedOnEvents).length', 'events.length'); |
| 99 </script> | 103 </script> |
| 100 <script src="../../js/resources/js-test-post.js"></script> | 104 <script src="../../js/resources/js-test-post.js"></script> |
| 101 </body> | 105 </body> |
| 102 </html> | 106 </html> |
| OLD | NEW |