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 iframeStrict.contentDocument.documentElement.scrollTop is 5000 | 6 PASS iframeStrict.contentDocument.documentElement.scrollTop is 5000 |
7 PASS iframeStrict.contentDocument.documentElement.scrollLeft is 4000 | 7 PASS iframeStrict.contentDocument.documentElement.scrollLeft is 4000 |
8 PASS iframeStrict.contentDocument.body.scrollTop is 0 | 8 PASS iframeStrict.contentDocument.body.scrollTop is 5000 |
9 PASS iframeStrict.contentDocument.body.scrollLeft is 0 | 9 PASS iframeStrict.contentDocument.body.scrollLeft is 4000 |
Dan Beam
2013/10/08 19:25:30
^ so wait, why are these not 0 here?
tonikitoo_
2013/10/08 19:52:32
Because we restore the old behavior of document.bo
tonikitoo_
2013/10/08 20:17:43
Ok, for the purpose of this patch, you are right.
| |
10 PASS iframeStrict.contentWindow.pageYOffset is 5000 | 10 PASS iframeStrict.contentWindow.pageYOffset is 5000 |
11 PASS iframeStrict.contentWindow.pageXOffset is 4000 | 11 PASS iframeStrict.contentWindow.pageXOffset is 4000 |
12 PASS iframeQuirks.contentDocument.documentElement.scrollTop is 0 | 12 PASS iframeQuirks.contentDocument.documentElement.scrollTop is 0 |
13 PASS iframeQuirks.contentDocument.documentElement.scrollLeft is 0 | 13 PASS iframeQuirks.contentDocument.documentElement.scrollLeft is 0 |
14 PASS iframeQuirks.contentDocument.body.scrollTop is 5000 | 14 PASS iframeQuirks.contentDocument.body.scrollTop is 5000 |
15 PASS iframeQuirks.contentDocument.body.scrollLeft is 4000 | 15 PASS iframeQuirks.contentDocument.body.scrollLeft is 4000 |
16 PASS iframeQuirks.contentWindow.pageYOffset is 5000 | 16 PASS iframeQuirks.contentWindow.pageYOffset is 5000 |
17 PASS iframeQuirks.contentWindow.pageXOffset is 4000 | 17 PASS iframeQuirks.contentWindow.pageXOffset is 4000 |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
22 | 22 |
23 | 23 |
OLD | NEW |