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

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

Issue 26472003: Fix improper scrollTop/Left usage in LayoutTests/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@issue_304768
Patch Set: Fix improper scrollTop/Left usage in LayoutTests/ Created 7 years, 2 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
« no previous file with comments | « LayoutTests/http/tests/navigation/resources/frame-with-anchor-cross-origin.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/navigation/resources/frame-with-anchor-gbk.html
diff --git a/LayoutTests/http/tests/navigation/resources/frame-with-anchor-gbk.html b/LayoutTests/http/tests/navigation/resources/frame-with-anchor-gbk.html
index a4b9c5cc65b0951e6f5a306aa38e43c2b38d47ce..f5727e33d24ffa980356f635fd5569d78c9a4ff1 100644
--- a/LayoutTests/http/tests/navigation/resources/frame-with-anchor-gbk.html
+++ b/LayoutTests/http/tests/navigation/resources/frame-with-anchor-gbk.html
@@ -15,10 +15,10 @@
shouldBeTrue('document.body.offsetHeight > document.documentElement.clientHeight');
// We should be scrolled at least a little bit
- shouldBeTrue('document.body.scrollTop > 0');
+ shouldBeTrue('document.documentElement.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.documentElement.clientHeight > 2000');
+ shouldBeTrue('document.documentElement.scrollTop + document.documentElement.clientHeight > 2000');
finishJSTest();
}, 0);
« no previous file with comments | « LayoutTests/http/tests/navigation/resources/frame-with-anchor-cross-origin.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698