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

Unified 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 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/dom/Element/scrollTop-scrollLeft-body.html ('k') | Source/core/html/HTMLBodyElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Element/scrollTop-scrollLeft-body-expected.txt
diff --git a/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-body-expected.txt b/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-body-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2d6e3f09ad8b19380bc382d9abdef0f164b79a25
--- /dev/null
+++ b/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-body-expected.txt
@@ -0,0 +1,49 @@
+Test for scrollTop/Left values of scrollable document.body in quirks and strict modes
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS iframeStrict1.contentDocument.documentElement.scrollTop is 0
+PASS iframeStrict1.contentDocument.documentElement.scrollLeft is 100
+PASS iframeStrict1.contentDocument.body.scrollTop is 200
+PASS iframeStrict1.contentDocument.body.scrollLeft is 0
+PASS iframeStrict1.contentWindow.pageYOffset is 0
+PASS iframeStrict1.contentWindow.pageXOffset is 100
+PASS iframeQuirks1.contentDocument.documentElement.scrollTop is 0
+PASS iframeQuirks1.contentDocument.documentElement.scrollLeft is 0
+PASS iframeQuirks1.contentDocument.body.scrollTop is 200
+PASS iframeQuirks1.contentDocument.body.scrollLeft is 0
+PASS iframeQuirks1.contentWindow.pageYOffset is 0
+PASS iframeQuirks1.contentWindow.pageXOffset is 0
+PASS iframeStrict2.contentDocument.documentElement.scrollTop is 0
+PASS iframeStrict2.contentDocument.documentElement.scrollLeft is 100
+PASS iframeStrict2.contentDocument.body.scrollTop is 0
+PASS iframeStrict2.contentDocument.body.scrollLeft is 0
+PASS iframeStrict2.contentWindow.pageYOffset is 0
+PASS iframeStrict2.contentWindow.pageXOffset is 100
+PASS iframeQuirks2.contentDocument.documentElement.scrollTop is 0
+PASS iframeQuirks2.contentDocument.documentElement.scrollLeft is 0
+PASS iframeQuirks2.contentDocument.body.scrollTop is 0
+PASS iframeQuirks2.contentDocument.body.scrollLeft is 0
+PASS iframeQuirks2.contentWindow.pageYOffset is 0
+PASS iframeQuirks2.contentWindow.pageXOffset is 0
+PASS iframeStrict3.contentDocument.documentElement.scrollTop is 0
+PASS iframeStrict3.contentDocument.documentElement.scrollLeft is 100
+PASS iframeStrict3.contentDocument.body.scrollTop is 200
+PASS iframeStrict3.contentDocument.body.scrollLeft is 0
+PASS iframeStrict3.contentWindow.pageYOffset is 0
+PASS iframeStrict3.contentWindow.pageXOffset is 100
+PASS iframeQuirks3.contentDocument.documentElement.scrollTop is 0
+PASS iframeQuirks3.contentDocument.documentElement.scrollLeft is 0
+PASS iframeQuirks3.contentDocument.body.scrollTop is 200
+PASS iframeQuirks3.contentDocument.body.scrollLeft is 0
+PASS iframeQuirks3.contentWindow.pageYOffset is 0
+PASS iframeQuirks3.contentWindow.pageXOffset is 0
+PASS iframeStrict4.contentDocument.body.scrollTop is 0
+PASS iframeStrict4.contentDocument.body.scrollLeft is 0
+PASS iframeQuirks4.contentDocument.body.scrollTop is 0
+PASS iframeQuirks4.contentDocument.body.scrollLeft is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/Element/scrollTop-scrollLeft-body.html ('k') | Source/core/html/HTMLBodyElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698