OLD | NEW |
1 Test that calling scroll methods on the body element does not scroll the viewpor
t in standards mode. Currently expected to fail: crbug.com/157855 | 1 Test that calling scroll methods on the body element does not scroll the viewpor
t in standards mode. |
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 successfullyParsed is true | 6 PASS successfullyParsed is true |
7 | 7 |
8 TEST COMPLETE | 8 TEST COMPLETE |
9 Test that "scroll" on the body element does not scroll | 9 Test that "scroll" on the body element does not scroll |
10 FAIL document.body.scrollTop should be 0. Was 100. | 10 PASS document.body.scrollTop is 0 |
11 FAIL document.body.scrollLeft should be 0. Was 100. | 11 PASS document.body.scrollLeft is 0 |
12 PASS document.documentElement.scrollTop is 0 | 12 PASS document.documentElement.scrollTop is 0 |
13 PASS document.documentElement.scrollLeft is 0 | 13 PASS document.documentElement.scrollLeft is 0 |
14 | 14 |
15 Test that "scrollTo" on the body element does not scroll | 15 Test that "scrollTo" on the body element does not scroll |
16 FAIL document.body.scrollTop should be 0. Was 100. | 16 PASS document.body.scrollTop is 0 |
17 FAIL document.body.scrollLeft should be 0. Was 100. | 17 PASS document.body.scrollLeft is 0 |
18 PASS document.documentElement.scrollTop is 0 | 18 PASS document.documentElement.scrollTop is 0 |
19 PASS document.documentElement.scrollLeft is 0 | 19 PASS document.documentElement.scrollLeft is 0 |
20 | 20 |
21 Test that "scrollBy" on the body element does not scroll | 21 Test that "scrollBy" on the body element does not scroll |
22 FAIL document.body.scrollTop should be 0. Was 200. | 22 PASS document.body.scrollTop is 0 |
23 FAIL document.body.scrollLeft should be 0. Was 200. | 23 PASS document.body.scrollLeft is 0 |
24 PASS document.documentElement.scrollTop is 0 | 24 PASS document.documentElement.scrollTop is 0 |
25 PASS document.documentElement.scrollLeft is 0 | 25 PASS document.documentElement.scrollLeft is 0 |
26 | 26 |
27 Test that "scroll" on the document element scrolls | 27 Test that "scroll" on the document element scrolls |
28 FAIL document.body.scrollTop should be 0. Was 200. | 28 PASS document.body.scrollTop is 0 |
29 FAIL document.body.scrollLeft should be 0. Was 200. | 29 PASS document.body.scrollLeft is 0 |
30 FAIL document.documentElement.scrollTop should be 100. Was 0. | 30 PASS document.documentElement.scrollTop is 100 |
31 FAIL document.documentElement.scrollLeft should be 50. Was 0. | 31 PASS document.documentElement.scrollLeft is 50 |
32 | 32 |
33 Test that "scrollTo" on the document element scrolls | 33 Test that "scrollTo" on the document element scrolls |
34 FAIL document.body.scrollTop should be 0. Was 200. | 34 PASS document.body.scrollTop is 0 |
35 FAIL document.body.scrollLeft should be 0. Was 200. | 35 PASS document.body.scrollLeft is 0 |
36 FAIL document.documentElement.scrollTop should be 200. Was 0. | 36 PASS document.documentElement.scrollTop is 200 |
37 FAIL document.documentElement.scrollLeft should be 450. Was 0. | 37 PASS document.documentElement.scrollLeft is 450 |
38 | 38 |
39 Test that "scrollBy" on the document element scrolls | 39 Test that "scrollBy" on the document element scrolls |
40 FAIL document.body.scrollTop should be 0. Was 200. | 40 PASS document.body.scrollTop is 0 |
41 FAIL document.body.scrollLeft should be 0. Was 200. | 41 PASS document.body.scrollLeft is 0 |
42 FAIL document.documentElement.scrollTop should be 300. Was 0. | 42 PASS document.documentElement.scrollTop is 300 |
43 FAIL document.documentElement.scrollLeft should be 750. Was 0. | 43 PASS document.documentElement.scrollLeft is 750 |
44 | 44 |
OLD | NEW |