Index: LayoutTests/fast/dom/Element/resources/scrollable-iframe-quirks.html |
diff --git a/LayoutTests/fast/dom/Element/resources/scrollable-iframe-quirks.html b/LayoutTests/fast/dom/Element/resources/scrollable-iframe-quirks.html |
index 59f30882cb55d6c6dea792fb762e46e3c8737d25..7999071adac1fede3f578f95478e299a3936bb76 100644 |
--- a/LayoutTests/fast/dom/Element/resources/scrollable-iframe-quirks.html |
+++ b/LayoutTests/fast/dom/Element/resources/scrollable-iframe-quirks.html |
@@ -7,7 +7,15 @@ |
</style> |
<script> |
function scroll() { |
- window.scrollTo(4000,5000); |
+ document.body.scrollTop = 5000; |
+ document.body.scrollLeft = 4000; |
+ |
+ // The calls below should not take effect, given |
+ // that setting scrollTop/Left on the root node |
+ // is no-op in quirks-mode. |
+ document.documentElement.scrollTop = 1; |
+ document.documentElement.scrollLeft = 1; |
+ |
parent.verifyTest() |
} |
</script> |