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

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

Issue 26472003: Fix improper scrollTop/Left usage in LayoutTests/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@issue_304768
Patch Set: Fix improper scrollTop/Left usage in LayoutTests/ 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698