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 6eb78aed7c627afd4a65f7be240538ee24d21148..74e78d30b15abe3bf707e63ad28793a43b0986f2 100644 |
--- a/LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html |
+++ b/LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html |
@@ -20,8 +20,8 @@ |
{ |
const targets = {y_min: 40, y_mid: 3500, y_max: 7000}; |
const innerPoint = {x: 100, y: 100} |
- var subframeDocumentElement = document.getElementById('subframe').contentDocument.body; |
- var scrollInterruptionTest = new SmoothScrollInterruptionTest(subframeDocumentElement, |
+ var subframeScrollingElement = document.getElementById('subframe').contentDocument.scrollingElement; |
+ var scrollInterruptionTest = new SmoothScrollInterruptionTest(subframeScrollingElement, |
innerPoint, |
targets, |
jsScroll); |