Index: LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html |
diff --git a/LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html b/LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html |
index 398425943ca582052cfd8ed00b679608ad26512a..6eb78aed7c627afd4a65f7be240538ee24d21148 100644 |
--- a/LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html |
+++ b/LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html |
@@ -20,7 +20,7 @@ |
{ |
const targets = {y_min: 40, y_mid: 3500, y_max: 7000}; |
const innerPoint = {x: 100, y: 100} |
- var subframeDocumentElement = document.getElementById('subframe').contentDocument.documentElement; |
+ var subframeDocumentElement = document.getElementById('subframe').contentDocument.body; |
var scrollInterruptionTest = new SmoothScrollInterruptionTest(subframeDocumentElement, |
innerPoint, |
targets, |