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