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

Unified Diff: third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-hittest.html

Issue 2484613003: Do not call internals.settings.setOverlayScrollbarsEnabled() in onload (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-hittest.html
diff --git a/third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-hittest.html b/third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-hittest.html
index ac87898c3ee9159e72ac9004bedbd96493350134..d87c75c944c70c8194bec1ab7ca7b03f19a7a41f 100644
--- a/third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-hittest.html
+++ b/third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-hittest.html
@@ -5,6 +5,10 @@
<script>
description('Checks that clicking on scrollbar works when tickmarks are added.');
+if (window.internals) {
+ window.internals.settings.setOverlayScrollbarsEnabled(true);
+}
+
onload = function()
{
if (window.testRunner)
@@ -13,7 +17,6 @@ onload = function()
var elt = document.getElementById('elt');
range.selectNodeContents(elt);
if (window.internals) {
- window.internals.settings.setOverlayScrollbarsEnabled(true);
window.internals.addTextMatchMarker(range, true);
}
if (window.eventSender) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698