Index: LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes.html |
diff --git a/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes.html b/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes.html |
index 318e9f3ef47b1bc98e96c4b1fa8bf1c857920878..28e93e7340ed9cb859578e80851d6cabf681267e 100644 |
--- a/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes.html |
+++ b/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes.html |
@@ -19,11 +19,15 @@ |
shouldBe("iframeStrict.contentDocument.documentElement.scrollLeft", "4000"); |
shouldBe("iframeStrict.contentDocument.body.scrollTop", "0"); |
shouldBe("iframeStrict.contentDocument.body.scrollLeft", "0"); |
+ shouldBe("iframeStrict.contentWindow.pageYOffset", "5000"); |
+ shouldBe("iframeStrict.contentWindow.pageXOffset", "4000"); |
shouldBe("iframeQuirks.contentDocument.documentElement.scrollTop", "0"); |
shouldBe("iframeQuirks.contentDocument.documentElement.scrollLeft", "0"); |
shouldBe("iframeQuirks.contentDocument.body.scrollTop", "5000"); |
shouldBe("iframeQuirks.contentDocument.body.scrollLeft", "4000"); |
+ shouldBe("iframeQuirks.contentWindow.pageYOffset", "5000"); |
+ shouldBe("iframeQuirks.contentWindow.pageXOffset", "4000"); |
finishJSTest(); |
} |
var jsTestIsAsync = true; |