Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(721)

Unified Diff: LayoutTests/fast/scroll-behavior/subframe-element-scroll.html

Issue 882153004: Re-enable main-frame and subframe CSSOM smooth scroll layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use nullptr instead of 0 Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/scroll-behavior/subframe-element-scroll.html
diff --git a/LayoutTests/fast/scroll-behavior/subframe-element-scroll.html b/LayoutTests/fast/scroll-behavior/subframe-element-scroll.html
index 984f3b8dd0822a9099173dea3369a2fd7275c0b0..c7864174f11d842f46e4773a440d45b21e9bcd9f 100644
--- a/LayoutTests/fast/scroll-behavior/subframe-element-scroll.html
+++ b/LayoutTests/fast/scroll-behavior/subframe-element-scroll.html
@@ -34,9 +34,9 @@
scrollToOptions.left = testCase.x;
if (testCase.y)
scrollToOptions.top = testCase.y;
- subframe.contentDocument.documentElement.scroll(scrollToOptions);
+ subframe.contentDocument.body.scroll(scrollToOptions);
} else {
- subframe.contentDocument.documentElement.scroll(testCase.x, testCase.y);
+ subframe.contentDocument.body.scroll(testCase.x, testCase.y);
}
}
@@ -68,7 +68,7 @@
}
var subframe = document.getElementById("subframe");
- var scrollBehaviorTest = new ScrollBehaviorTest(subframe.contentDocument.documentElement,
+ var scrollBehaviorTest = new ScrollBehaviorTest(subframe.contentDocument.body,
subframe.contentDocument,
testCases,
getEndPosition,

Powered by Google App Engine
This is Rietveld 408576698