| OLD | NEW |
| 1 This tests that a modal dialog's containing block is the initial containing bloc
k. | 1 This tests that a modal dialog's containing block is the initial containing bloc
k. |
| 2 The dialog should be onscreen with a width of 50% of the viewport. It is the chi
ld of a narrow element positioned off screen, but its containing block is the in
itial containing block, so its position and percent lengths are relative to that
. | 2 The dialog should be onscreen with a width of 50% of the viewport. It is the chi
ld of a narrow element positioned off screen, but its containing block is the in
itial containing block, so its position and percent lengths are relative to that
. |
| 3 PASS dialog.offsetParent is null | 3 PASS dialog.offsetParent is null |
| 4 PASS dialog.offsetTop is 1200 | 4 PASS dialog.offsetTop is 1200 |
| 5 PASS dialog.offsetLeft is 1200 | 5 PASS dialog.offsetLeft is 1200 |
| 6 PASS dialog.clientWidth is expectedWidth | 6 PASS dialog.clientWidth is expectedWidth |
| 7 PASS successfullyParsed is true | 7 PASS successfullyParsed is true |
| 8 | 8 |
| 9 TEST COMPLETE | 9 TEST COMPLETE |
| 10 | 10 |
| OLD | NEW |