OLD | NEW |
| (Empty) |
1 Test offsetLeft and offsetTop in a named flow with absolute, sticky and fixed po
sitioning. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 PASS divText1.offsetParent is divMain1 | |
6 PASS divText1.offsetLeft is 10 | |
7 PASS divText1.offsetTop is 10 | |
8 PASS divText2.offsetParent is document.body | |
9 PASS divText2.offsetLeft is 100 | |
10 PASS divText2.offsetTop is 500 | |
11 PASS divText3.offsetParent is document.body | |
12 PASS divText3.offsetLeft is 600 | |
13 PASS divText3.offsetTop is 400 | |
14 PASS divText4.offsetParent is null | |
15 PASS divText4.offsetLeft is 50 | |
16 PASS divText4.offsetTop is 20 | |
17 PASS successfullyParsed is true | |
18 | |
19 TEST COMPLETE | |
20 | |
OLD | NEW |