Index: LayoutTests/fast/events/scale-and-scroll-iframe-body.html |
diff --git a/LayoutTests/fast/events/scale-and-scroll-iframe-body.html b/LayoutTests/fast/events/scale-and-scroll-iframe-body.html |
index 26ee502ada98a88236fef840966329e9fbd7f795..6d84c73d24a0dd41f926416a22a1c448f224c73e 100644 |
--- a/LayoutTests/fast/events/scale-and-scroll-iframe-body.html |
+++ b/LayoutTests/fast/events/scale-and-scroll-iframe-body.html |
@@ -12,11 +12,11 @@ |
function scroll() { |
window.scrollTo(0, 100); |
var frame = document.getElementById('frame'); |
- frame.contentDocument.body.scrollTop = 100; |
- frame.contentDocument.body.scrollLeft = 100; |
+ frame.contentDocument.scrollingElement.scrollTop = 100; |
+ frame.contentDocument.scrollingElement.scrollLeft = 100; |
- shouldBe("frame.contentDocument.body.scrollTop", "100"); |
- shouldBe("frame.contentDocument.body.scrollLeft", "100"); |
+ shouldBe("frame.contentDocument.scrollingElement.scrollTop", "100"); |
+ shouldBe("frame.contentDocument.scrollingElement.scrollLeft", "100"); |
shouldBe("frame.contentWindow.scrollX", "100"); |
shouldBe("frame.contentWindow.scrollY", "100"); |
} |