Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: LayoutTests/fast/dom/Element/scrollTop-scrollLeft-body-expected.txt

Issue 51553002: Fix body.scrollTop/Left for scrollable <body> tags (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 bTest for scrollTop/Left values of document.body and document.documentElement in documents in quirks and strict modes
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS iframeStrict1.contentDocument.documentElement.scrollTop is 0
7 PASS iframeStrict1.contentDocument.documentElement.scrollLeft is 100
8 PASS iframeStrict1.contentDocument.body.scrollTop is 200
9 PASS iframeStrict1.contentDocument.body.scrollLeft is 0
10 PASS iframeStrict1.contentWindow.pageYOffset is 0
11 PASS iframeStrict1.contentWindow.pageXOffset is 100
12 PASS iframeQuirks1.contentDocument.documentElement.scrollTop is 0
13 PASS iframeQuirks1.contentDocument.documentElement.scrollLeft is 0
14 PASS iframeQuirks1.contentDocument.body.scrollTop is 200
15 PASS iframeQuirks1.contentDocument.body.scrollLeft is 0
16 PASS iframeQuirks1.contentWindow.pageYOffset is 0
17 PASS iframeQuirks1.contentWindow.pageXOffset is 0
18 PASS iframeStrict2.contentDocument.documentElement.scrollTop is 0
19 PASS iframeStrict2.contentDocument.documentElement.scrollLeft is 100
20 PASS iframeStrict2.contentDocument.body.scrollTop is 0
21 PASS iframeStrict2.contentDocument.body.scrollLeft is 0
22 PASS iframeStrict2.contentWindow.pageYOffset is 0
23 PASS iframeStrict2.contentWindow.pageXOffset is 100
24 PASS iframeQuirks2.contentDocument.documentElement.scrollTop is 0
25 PASS iframeQuirks2.contentDocument.documentElement.scrollLeft is 0
26 PASS iframeQuirks2.contentDocument.body.scrollTop is 0
27 PASS iframeQuirks2.contentDocument.body.scrollLeft is 0
28 PASS iframeQuirks2.contentWindow.pageYOffset is 0
29 PASS iframeQuirks2.contentWindow.pageXOffset is 0
30 PASS iframeStrict3.contentDocument.documentElement.scrollTop is 0
31 PASS iframeStrict3.contentDocument.documentElement.scrollLeft is 100
32 PASS iframeStrict3.contentDocument.body.scrollTop is 200
33 PASS iframeStrict3.contentDocument.body.scrollLeft is 0
34 PASS iframeStrict3.contentWindow.pageYOffset is 0
35 PASS iframeStrict3.contentWindow.pageXOffset is 100
36 PASS iframeQuirks3.contentDocument.documentElement.scrollTop is 0
37 PASS iframeQuirks3.contentDocument.documentElement.scrollLeft is 0
38 PASS iframeQuirks3.contentDocument.body.scrollTop is 200
39 PASS iframeQuirks3.contentDocument.body.scrollLeft is 0
40 PASS iframeQuirks3.contentWindow.pageYOffset is 0
41 PASS iframeQuirks3.contentWindow.pageXOffset is 0
42 PASS successfullyParsed is true
43
44 TEST COMPLETE
45
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698