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

Side by Side Diff: LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes-expected.txt

Issue 25741004: set and get scrollTop/Left through documentElement and body should be symmetric, according to the d… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: set and get scrollTop/Left through documentElement and body should be symmetric, according to the d… Created 7 years, 2 months 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
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 0
9 PASS iframeStrict.contentDocument.body.scrollLeft is 0 9 PASS iframeStrict.contentDocument.body.scrollLeft is 0
10 PASS iframeStrict.contentWindow.pageYOffset is 5000
11 PASS iframeStrict.contentWindow.pageXOffset is 4000
10 PASS iframeQuirks.contentDocument.documentElement.scrollTop is 0 12 PASS iframeQuirks.contentDocument.documentElement.scrollTop is 0
11 PASS iframeQuirks.contentDocument.documentElement.scrollLeft is 0 13 PASS iframeQuirks.contentDocument.documentElement.scrollLeft is 0
12 PASS iframeQuirks.contentDocument.body.scrollTop is 5000 14 PASS iframeQuirks.contentDocument.body.scrollTop is 5000
13 PASS iframeQuirks.contentDocument.body.scrollLeft is 4000 15 PASS iframeQuirks.contentDocument.body.scrollLeft is 4000
16 PASS iframeQuirks.contentWindow.pageYOffset is 5000
17 PASS iframeQuirks.contentWindow.pageXOffset is 4000
14 PASS successfullyParsed is true 18 PASS successfullyParsed is true
15 19
16 TEST COMPLETE 20 TEST COMPLETE
17 21
18 22
19 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698