OLD | NEW |
1 Test for scrollTop/Left values of document.body and document.documentElement in
documents in quirks and strict modes | 1 Test for scrollTop/Left values of document.body and document.documentElement in
documents in quirks and strict modes |
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 PASS document.scrollingElement is document.body | |
7 PASS document.scrollingElement is document.documentElement | 6 PASS document.scrollingElement is document.documentElement |
8 PASS iframeStrict.contentDocument.scrollingElement is iframeStrict.contentDocume
nt.documentElement | 7 PASS iframeStrict.contentDocument.scrollingElement is iframeStrict.contentDocume
nt.documentElement |
9 PASS iframeStrict.contentDocument.documentElement.scrollTop is 5000 | 8 PASS iframeStrict.contentDocument.documentElement.scrollTop is 5000 |
10 PASS iframeStrict.contentDocument.documentElement.scrollLeft is 4000 | 9 PASS iframeStrict.contentDocument.documentElement.scrollLeft is 4000 |
11 PASS iframeStrict.contentDocument.documentElement.scrollHeight is 10020 | 10 PASS iframeStrict.contentDocument.documentElement.scrollHeight is 10020 |
12 PASS iframeStrict.contentDocument.documentElement.scrollWidth is 10010 | 11 PASS iframeStrict.contentDocument.documentElement.scrollWidth is 10010 |
13 PASS iframeStrict.contentDocument.body.scrollTop is 0 | 12 PASS iframeStrict.contentDocument.body.scrollTop is 0 |
14 PASS iframeStrict.contentDocument.body.scrollLeft is 0 | 13 PASS iframeStrict.contentDocument.body.scrollLeft is 0 |
15 PASS iframeStrict.contentDocument.body.scrollHeight is 10010 | 14 PASS iframeStrict.contentDocument.body.scrollHeight is 10010 |
16 PASS iframeStrict.contentDocument.body.scrollWidth is 10005 | 15 PASS iframeStrict.contentDocument.body.scrollWidth is 10005 |
17 PASS iframeStrict.contentWindow.pageYOffset is 5000 | 16 PASS iframeStrict.contentWindow.pageYOffset is 5000 |
18 PASS iframeStrict.contentWindow.pageXOffset is 4000 | 17 PASS iframeStrict.contentWindow.pageXOffset is 4000 |
19 PASS iframeQuirks.contentDocument.scrollingElement is iframeQuirks.contentDocume
nt.body | 18 PASS iframeQuirks.contentDocument.scrollingElement is iframeQuirks.contentDocume
nt.body |
20 PASS iframeQuirks.contentDocument.documentElement.scrollTop is 0 | 19 PASS iframeQuirks.contentDocument.documentElement.scrollTop is 0 |
21 PASS iframeQuirks.contentDocument.documentElement.scrollLeft is 0 | 20 PASS iframeQuirks.contentDocument.documentElement.scrollLeft is 0 |
22 PASS iframeQuirks.contentDocument.documentElement.scrollHeight is 10020 | 21 PASS iframeQuirks.contentDocument.documentElement.scrollHeight is 10020 |
23 PASS iframeQuirks.contentDocument.documentElement.scrollWidth is 10010 | 22 PASS iframeQuirks.contentDocument.documentElement.scrollWidth is 10010 |
24 PASS iframeQuirks.contentDocument.body.scrollTop is 5000 | 23 PASS iframeQuirks.contentDocument.body.scrollTop is 5000 |
25 PASS iframeQuirks.contentDocument.body.scrollLeft is 4000 | 24 PASS iframeQuirks.contentDocument.body.scrollLeft is 4000 |
26 PASS iframeQuirks.contentDocument.body.scrollHeight is 10020 | 25 PASS iframeQuirks.contentDocument.body.scrollHeight is 10020 |
27 PASS iframeQuirks.contentDocument.body.scrollWidth is 10010 | 26 PASS iframeQuirks.contentDocument.body.scrollWidth is 10010 |
28 PASS iframeQuirks.contentWindow.pageYOffset is 5000 | 27 PASS iframeQuirks.contentWindow.pageYOffset is 5000 |
29 PASS iframeQuirks.contentWindow.pageXOffset is 4000 | 28 PASS iframeQuirks.contentWindow.pageXOffset is 4000 |
30 PASS successfullyParsed is true | 29 PASS successfullyParsed is true |
31 | 30 |
32 TEST COMPLETE | 31 TEST COMPLETE |
33 | 32 |
34 | 33 |
35 | 34 |
OLD | NEW |