| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 #bottom { | 5 #bottom { |
| 6 top: 100px; | 6 top: 100px; |
| 7 left: 100px; | 7 left: 100px; |
| 8 height: 300px; | 8 height: 300px; |
| 9 width: 300px; | 9 width: 300px; |
| 10 margin: 0; | 10 margin: 0; |
| 11 background: cyan; | 11 background: cyan; |
| 12 } | 12 } |
| 13 | 13 |
| 14 #top { | 14 #top { |
| 15 top: 150px; | 15 top: 150px; |
| 16 left: 150px; | 16 left: 150px; |
| 17 height: 200px; | 17 height: 200px; |
| 18 width: 200px; | 18 width: 200px; |
| 19 margin: 0; | 19 margin: 0; |
| 20 background: yellow; | 20 background: yellow; |
| 21 } | 21 } |
| 22 </style> | 22 </style> |
| 23 <script src="../../js/resources/js-test-pre.js"></script> | 23 <script src="../../../resources/js-test.js"></script> |
| 24 </head> | 24 </head> |
| 25 <body> | 25 <body> |
| 26 <dialog id="bottom"> | 26 <dialog id="bottom"> |
| 27 <span></span> | 27 <span></span> |
| 28 <div>You can't Escape when this textbox has focus: <input id="swallow-input"
type="text"></div> | 28 <div>You can't Escape when this textbox has focus: <input id="swallow-input"
type="text"></div> |
| 29 <div>You can Escape even if this textbox has focus: <input id="normal-input"
type="text"></div> | 29 <div>You can Escape even if this textbox has focus: <input id="normal-input"
type="text"></div> |
| 30 </dialog> | 30 </dialog> |
| 31 <dialog id="top"> | 31 <dialog id="top"> |
| 32 <span></span> | 32 <span></span> |
| 33 </dialog> | 33 </dialog> |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 shouldBeFalse('bottomDialog.open'); | 97 shouldBeFalse('bottomDialog.open'); |
| 98 | 98 |
| 99 bottomDialog.remove(); | 99 bottomDialog.remove(); |
| 100 topDialog.remove(); | 100 topDialog.remove(); |
| 101 } | 101 } |
| 102 | 102 |
| 103 test(); | 103 test(); |
| 104 </script> | 104 </script> |
| 105 </body> | 105 </body> |
| 106 </html> | 106 </html> |
| OLD | NEW |