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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/jquery/offset-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes-expected.txt
diff --git a/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes-expected.txt b/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes-expected.txt
index e9f0c3857c2ec546b4da6b8fb02b13ce1bd1d6f5..03194f1976ff7e19a7af570dab1e1b2e8758be63 100644
--- a/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes-expected.txt
+++ b/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes-expected.txt
@@ -1,5 +1,3 @@
-CONSOLE WARNING: body.scrollTop is deprecated in strict mode. Please use 'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if in quirks mode.
-CONSOLE WARNING: body.scrollLeft is deprecated in strict mode. Please use 'documentElement.scrollLeft' if in strict mode and 'body.scrollLeft' only if in quirks mode.
Test for scrollTop/Left values of document.body and document.documentElement in documents in quirks and strict modes
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -7,8 +5,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS iframeStrict.contentDocument.documentElement.scrollTop is 5000
PASS iframeStrict.contentDocument.documentElement.scrollLeft is 4000
-FAIL iframeStrict.contentDocument.body.scrollTop should be 0. Was 5000.
-FAIL iframeStrict.contentDocument.body.scrollLeft should be 0. Was 4000.
+PASS iframeStrict.contentDocument.body.scrollTop is 0
+PASS iframeStrict.contentDocument.body.scrollLeft is 0
PASS iframeStrict.contentWindow.pageYOffset is 5000
PASS iframeStrict.contentWindow.pageXOffset is 4000
PASS iframeQuirks.contentDocument.documentElement.scrollTop is 0
« 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