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

Unified Diff: LayoutTests/rubberbanding/scroll-bounce-fix.html

Issue 891523002: ScrollTopLeftInterop should not be marked experimental (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 5 years, 11 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/rubberbanding/scroll-bounce-fix.html
diff --git a/LayoutTests/rubberbanding/scroll-bounce-fix.html b/LayoutTests/rubberbanding/scroll-bounce-fix.html
index 1c5e9a024d003ad8b134b05a08ef87ade394d99e..36c9ed51a6536db754eecbde264ab29951ea01d1 100644
--- a/LayoutTests/rubberbanding/scroll-bounce-fix.html
+++ b/LayoutTests/rubberbanding/scroll-bounce-fix.html
@@ -73,12 +73,12 @@
setTimeout(function() {
document.getElementById('box').style.background = 'green';
// The left margin should have rebounded back to 0.
- if (document.documentElement.scrollLeft != 0) {
+ if (document.body.scrollLeft != 0) {
document.getElementById('box').style.background = 'yellow';
}
// The content should be scrolled to the bottom.
var expectedScrollTop = document.documentElement.scrollHeight - document.documentElement.clientHeight;
- if (document.documentElement.scrollTop != expectedScrollTop) {
+ if (document.body.scrollTop != expectedScrollTop) {
document.getElementById('box').style.background = 'yellow';
}
testRunner.notifyDone();
« no previous file with comments | « LayoutTests/http/tests/navigation/resources/frame-with-anchor-same-origin.html ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698