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

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

Issue 69143002: Guard the rework of documentElement|body.scrollTop/Left under a runtime flag (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
« no previous file with comments | « no previous file | LayoutTests/jquery/offset-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE WARNING: body.scrollTop is deprecated in strict mode. Please use 'docume ntElement.scrollTop' if in strict mode and 'body.scrollTop' only if in quirks mo de.
2 CONSOLE WARNING: body.scrollLeft is deprecated in strict mode. Please use 'docum entElement.scrollLeft' if in strict mode and 'body.scrollLeft' only if in quirks mode.
3 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
4 2
5 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 ".
6 4
7 5
8 PASS iframeStrict.contentDocument.documentElement.scrollTop is 5000 6 PASS iframeStrict.contentDocument.documentElement.scrollTop is 5000
9 PASS iframeStrict.contentDocument.documentElement.scrollLeft is 4000 7 PASS iframeStrict.contentDocument.documentElement.scrollLeft is 4000
10 FAIL iframeStrict.contentDocument.body.scrollTop should be 0. Was 5000. 8 PASS iframeStrict.contentDocument.body.scrollTop is 0
11 FAIL iframeStrict.contentDocument.body.scrollLeft should be 0. Was 4000. 9 PASS iframeStrict.contentDocument.body.scrollLeft is 0
12 PASS iframeStrict.contentWindow.pageYOffset is 5000 10 PASS iframeStrict.contentWindow.pageYOffset is 5000
13 PASS iframeStrict.contentWindow.pageXOffset is 4000 11 PASS iframeStrict.contentWindow.pageXOffset is 4000
14 PASS iframeQuirks.contentDocument.documentElement.scrollTop is 0 12 PASS iframeQuirks.contentDocument.documentElement.scrollTop is 0
15 PASS iframeQuirks.contentDocument.documentElement.scrollLeft is 0 13 PASS iframeQuirks.contentDocument.documentElement.scrollLeft is 0
16 PASS iframeQuirks.contentDocument.body.scrollTop is 5000 14 PASS iframeQuirks.contentDocument.body.scrollTop is 5000
17 PASS iframeQuirks.contentDocument.body.scrollLeft is 4000 15 PASS iframeQuirks.contentDocument.body.scrollLeft is 4000
18 PASS iframeQuirks.contentWindow.pageYOffset is 5000 16 PASS iframeQuirks.contentWindow.pageYOffset is 5000
19 PASS iframeQuirks.contentWindow.pageXOffset is 4000 17 PASS iframeQuirks.contentWindow.pageXOffset is 4000
20 PASS successfullyParsed is true 18 PASS successfullyParsed is true
21 19
22 TEST COMPLETE 20 TEST COMPLETE
23 21
24 22
25 23
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/jquery/offset-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698