| OLD | NEW |
| 1 Tests layout of non-modal dialogs. | 1 Tests layout of non-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 Test absolute position | 7 Test absolute position |
| 8 PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRe
ct().top + offset | 8 PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRe
ct().top + offset |
| 9 PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientR
ect().left + offset | 9 PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientR
ect().left + offset |
| 10 | 10 |
| 11 Test static position | 11 Test static position |
| 12 PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRe
ct().top | 12 PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRe
ct().top |
| 13 PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientR
ect().left | 13 PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientR
ect().left |
| 14 | 14 |
| 15 Test relative position | 15 Test relative position |
| 16 PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRe
ct().top + offset | 16 PASS dialog.getBoundingClientRect().top is relativeContainer.getBoundingClientRe
ct().top + offset |
| 17 PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientR
ect().left + offset | 17 PASS dialog.getBoundingClientRect().left is relativeContainer.getBoundingClientR
ect().left + offset |
| 18 | 18 |
| 19 Test fixed position | 19 Test fixed position |
| 20 PASS dialog.getBoundingClientRect().top is offset | 20 PASS dialog.getBoundingClientRect().top is offset |
| 21 PASS dialog.getBoundingClientRect().left is offset | 21 PASS dialog.getBoundingClientRect().left is offset |
| 22 PASS successfullyParsed is true | 22 PASS successfullyParsed is true |
| 23 | 23 |
| 24 TEST COMPLETE | 24 TEST COMPLETE |
| 25 | 25 |
| OLD | NEW |