Index: LayoutTests/fast/overflow/overflow-dirty-relayout-boundary-no-crash.html |
diff --git a/LayoutTests/fast/overflow/overflow-dirty-relayout-boundary-no-crash.html b/LayoutTests/fast/overflow/overflow-dirty-relayout-boundary-no-crash.html |
index 847fb5e3916fb77df11565ed88d8544ca1028188..5860210a938ff958997e34a72dbf90b3f12ae071 100644 |
--- a/LayoutTests/fast/overflow/overflow-dirty-relayout-boundary-no-crash.html |
+++ b/LayoutTests/fast/overflow/overflow-dirty-relayout-boundary-no-crash.html |
@@ -17,7 +17,7 @@ |
if (window.testRunner) |
testRunner.dumpAsText(); |
-document.body.scrollWidth; |
+document.scrollingElement.scrollWidth; |
var layoutTarget = document.getElementById("layout-target"); |
layoutTarget.style.width = "99px"; |
@@ -25,5 +25,5 @@ layoutTarget.style.width = "99px"; |
var relayoutBoundary = document.getElementById("relayout-boundary"); |
relayoutBoundary.style.transform = "translateX(1px)"; |
-document.body.scrollWidth; |
-</script> |
+document.scrollingElement.scrollWidth; |
+</script> |