OLD | NEW |
(Empty) | |
| 1 Test that calling scroll methods on the body element scrolls the viewport in qui
rks mode |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS successfullyParsed is true |
| 7 |
| 8 TEST COMPLETE |
| 9 Test that "scroll" on the document element does not scroll |
| 10 PASS document.documentElement.scrollTop is 0 |
| 11 PASS document.documentElement.scrollLeft is 0 |
| 12 PASS document.body.scrollTop is 0 |
| 13 PASS document.body.scrollLeft is 0 |
| 14 |
| 15 Test that "scrollTo" on the document element does not scroll |
| 16 PASS document.documentElement.scrollTop is 0 |
| 17 PASS document.documentElement.scrollLeft is 0 |
| 18 PASS document.body.scrollTop is 0 |
| 19 PASS document.body.scrollLeft is 0 |
| 20 |
| 21 Test that "scrollBy" on the document element does not scroll |
| 22 PASS document.documentElement.scrollTop is 0 |
| 23 PASS document.documentElement.scrollLeft is 0 |
| 24 PASS document.body.scrollTop is 0 |
| 25 PASS document.body.scrollLeft is 0 |
| 26 |
| 27 Test that "scroll" on the body element scrolls |
| 28 PASS document.documentElement.scrollTop is 0 |
| 29 PASS document.documentElement.scrollLeft is 0 |
| 30 PASS document.body.scrollTop is 100 |
| 31 PASS document.body.scrollLeft is 50 |
| 32 |
| 33 Test that "scrollTo" on the body element scrolls |
| 34 PASS document.documentElement.scrollTop is 0 |
| 35 PASS document.documentElement.scrollLeft is 0 |
| 36 PASS document.body.scrollTop is 200 |
| 37 PASS document.body.scrollLeft is 450 |
| 38 |
| 39 Test that "scrollBy" on the body element scrolls |
| 40 PASS document.documentElement.scrollTop is 0 |
| 41 PASS document.documentElement.scrollLeft is 0 |
| 42 PASS document.body.scrollTop is 300 |
| 43 PASS document.body.scrollLeft is 750 |
| 44 |
OLD | NEW |