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> |