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

Unified Diff: LayoutTests/scrollbars/scrollbar-large-overflow-rectangle.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
« no previous file with comments | « LayoutTests/platform/win/fast/events/platform-wheelevent-paging-y-in-scrolling-page-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/scrollbars/scrollbar-large-overflow-rectangle.html
diff --git a/LayoutTests/scrollbars/scrollbar-large-overflow-rectangle.html b/LayoutTests/scrollbars/scrollbar-large-overflow-rectangle.html
index 94273b34535d1c39cf8081c74d1c6edc59812e91..91bfbec80c4981b0a6edf9ee098adec2ac087761 100644
--- a/LayoutTests/scrollbars/scrollbar-large-overflow-rectangle.html
+++ b/LayoutTests/scrollbars/scrollbar-large-overflow-rectangle.html
@@ -21,11 +21,11 @@
}
function test() {
- var height = document.body.scrollHeight;
+ var height = document.scrollingElement.scrollHeight;
if (height == 3000)
document.getElementById("result").innerHTML = "PASS";
else
- document.getElementById("result").innerHTML = "<p style='color:red'>FAIL document.body.scrollHeight = " + height +"</p>";
+ document.getElementById("result").innerHTML = "<p style='color:red'>FAIL document.scrollingElement.scrollHeight = " + height +"</p>";
}
</script>
</head>
« no previous file with comments | « LayoutTests/platform/win/fast/events/platform-wheelevent-paging-y-in-scrolling-page-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698