Index: LayoutTests/fast/css/resize-corner-tracking-touch.html |
diff --git a/LayoutTests/fast/css/resize-corner-tracking-touch.html b/LayoutTests/fast/css/resize-corner-tracking-touch.html |
index d4f6c73ab9b9e1029dc3c8fa304348a8dcec5975..9921f6829fff93f97ee7abf93c534c4654e3b73e 100644 |
--- a/LayoutTests/fast/css/resize-corner-tracking-touch.html |
+++ b/LayoutTests/fast/css/resize-corner-tracking-touch.html |
@@ -51,7 +51,7 @@ |
return; |
// Scroll the page first to test that resize works with scrolled page. |
- document.body.scrollTop = 50; |
+ document.documentElement.scrollTop = 50; |
// 1. Touch scrolling starting at outside of the object, e.g. offset (6, 7) |
// to bottom right corner of the object, won't do the resize. |
@@ -68,7 +68,7 @@ |
resize("textarea1", -20, -20, 20, 10, "resize"); |
// Scroll the page again |
- document.body.scrollTop += 100; |
+ document.documentElement.scrollTop += 100; |
resize("iframe1", -6, -7, 20, 10, "resize"); |
resize("iframe1", -20, -20, 20, 10, "noresize"); |