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

Unified Diff: third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars.html

Issue 2239313002: Hide non-composited native scrollbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment Created 4 years, 4 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: third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars.html
diff --git a/third_party/WebKit/LayoutTests/fast/scrolling/overlay-scrollbars.html b/third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars.html
similarity index 74%
copy from third_party/WebKit/LayoutTests/fast/scrolling/overlay-scrollbars.html
copy to third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars.html
index b4f315f6b88c4fc8cd8dd1344f653981bee47478..afdbac3a47832dafb0cd73a43e7c212f079443d2 100644
--- a/third_party/WebKit/LayoutTests/fast/scrolling/overlay-scrollbars.html
+++ b/third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars.html
@@ -22,14 +22,14 @@ if (window.internals) {
testRunner.dumpAsTextWithPixelResults();
internals.settings.setOverlayScrollbarsEnabled(true);
internals.settings.setMockScrollbarsEnabled(true);
+ internals.runtimeFlags.hideScrollbarsEnabled = true;
}
</script>
</head>
<body>
-<p>You should see first 2 green boxes with overlay scrollbars.
-The second box should have a scrollbar on the left.
-Remaining 2 green boxes should appear without overlay scrollbars.
-</p>
+<p>You should see 4 green boxes that do not show scrollbars.
+The first two boxes would show overlay scrollbars if they weren't
+hidden (second one with a scrollbar on the left).</p>
<div class="container"><div class="box"></div></div>
<div dir="rtl" class="container"><div class="box"></div></div>
« no previous file with comments | « content/child/runtime_features.cc ('k') | third_party/WebKit/LayoutTests/fast/scrolling/hide-scrollbars-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698