| OLD | NEW |
| 1 Tests layout of absolutely positioned modal dialogs. | 1 Tests layout of absolutely positioned modal dialogs. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 showModal() should center in the viewport. | 7 showModal() should center in the viewport. |
| 8 PASS dialog.getBoundingClientRect().top is centeredTop | 8 PASS dialog.getBoundingClientRect().top is centeredTop |
| 9 | 9 |
| 10 The dialog is a positioned element, so the top and bottom should not have style
auto. | 10 The dialog is a positioned element, so the top and bottom should not have style
auto. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 A dialog with specified 'top' should be positioned as usual | 45 A dialog with specified 'top' should be positioned as usual |
| 46 PASS dialog.getBoundingClientRect().top + window.scrollY is offset | 46 PASS dialog.getBoundingClientRect().top + window.scrollY is offset |
| 47 | 47 |
| 48 A dialog with specified 'bottom' should be positioned as usual | 48 A dialog with specified 'bottom' should be positioned as usual |
| 49 PASS dialog.getBoundingClientRect().bottom + window.scrollY is window.innerHeigh
t - offset | 49 PASS dialog.getBoundingClientRect().bottom + window.scrollY is window.innerHeigh
t - offset |
| 50 PASS successfullyParsed is true | 50 PASS successfullyParsed is true |
| 51 | 51 |
| 52 TEST COMPLETE | 52 TEST COMPLETE |
| 53 | 53 |
| OLD | NEW |