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 |