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

Unified Diff: LayoutTests/fast/dom/anchor-without-content.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/fast/dom/anchor-without-content.html
diff --git a/LayoutTests/fast/dom/anchor-without-content.html b/LayoutTests/fast/dom/anchor-without-content.html
index b08893d5d15baddb845b1c8d0df1f16c816bf09a..caa9cdf3b39477422a83b9489435bf3745e1ab8c 100644
--- a/LayoutTests/fast/dom/anchor-without-content.html
+++ b/LayoutTests/fast/dom/anchor-without-content.html
@@ -25,16 +25,16 @@
<span class="spacer"></span>
<script>
- var scrollTopBeforeClick = document.documentElement.scrollTop;
+ var scrollTopBeforeClick = document.body.scrollTop;
document.getElementById('goto-1').click();
- if (document.documentElement.scrollTop > scrollTopBeforeClick)
+ if (document.body.scrollTop > scrollTopBeforeClick)
testPassed('Clicking link 1 scrolled to block 1.');
else
testFailed('Clicking link 1 didn\'t scroll as expected.');
- var scrollTopBeforeClick = document.documentElement.scrollTop;
+ var scrollTopBeforeClick = document.body.scrollTop;
document.getElementById('goto-2').click();
- if (document.documentElement.scrollTop > scrollTopBeforeClick)
+ if (document.body.scrollTop > scrollTopBeforeClick)
testPassed('Clicking link 2 scrolled to block 2.');
else
testFailed('Clicking link 2 didn\'t scroll as expected.');

Powered by Google App Engine
This is Rietveld 408576698