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

Unified Diff: LayoutTests/http/tests/navigation/resources/frame-with-anchor.html

Issue 1133693002: Update most LayoutTests to be agnostic to scrollTopLeftInterop mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tdresser cr feedback Created 5 years, 7 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/http/tests/navigation/resources/frame-with-anchor.html
diff --git a/LayoutTests/http/tests/navigation/resources/frame-with-anchor.html b/LayoutTests/http/tests/navigation/resources/frame-with-anchor.html
index 4253f818024d898737cc90cf57ec01e53614a46a..4a33e33f9b52fc3d32310fe86eea300c5d6f3350 100644
--- a/LayoutTests/http/tests/navigation/resources/frame-with-anchor.html
+++ b/LayoutTests/http/tests/navigation/resources/frame-with-anchor.html
@@ -14,10 +14,10 @@
shouldBeTrue('document.documentElement.offsetHeight > document.documentElement.clientHeight');
// We should be scrolled at least a little bit
- shouldBeTrue('document.body.scrollTop > 0');
+ shouldBeTrue('document.scrollingElement.scrollTop > 0');
// And the bottom of the viewable area should be at least 2000 pixels from the top, due to the spacer element above.
- shouldBeTrue('document.body.scrollTop + document.body.clientHeight > 2000');
+ shouldBeTrue('document.scrollingElement.scrollTop + document.body.clientHeight > 2000');
finishJSTest();
}, 0);

Powered by Google App Engine
This is Rietveld 408576698