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

Unified Diff: LayoutTests/fast/forms/select/listbox-overlay-scrollbar.html

Issue 643933002: Remove Overlay Scrollbar if not scrollable along the axis (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased to TOT Created 6 years, 2 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/forms/select/listbox-overlay-scrollbar.html
diff --git a/LayoutTests/fast/forms/select/listbox-overlay-scrollbar.html b/LayoutTests/fast/forms/select/listbox-overlay-scrollbar.html
index f34a20fb30525fb4a1d31bea138b57ba30e78366..e0934abb9d7cb2b29bec32636189088fa8a2a674 100644
--- a/LayoutTests/fast/forms/select/listbox-overlay-scrollbar.html
+++ b/LayoutTests/fast/forms/select/listbox-overlay-scrollbar.html
@@ -12,6 +12,8 @@ html, body {
height: 100px;
background-color: lime;
display: block;
+ font-family: "Arial";
+ font-size : 12pt;
}
</style>
<script>
@@ -27,10 +29,22 @@ if (window.internals) {
should have a scrollbar on the left.</p>
<div>
-<select multiple class="sel"></select>
+<select multiple class="sel" size="5">
+<option>foo1</option>
+<option>foo2</option>
+<option>foo3</option>
+<option>foo4</option>
+<option>foo5</option>
+</select>
</div>
<div>
-<select multiple dir="rtl" class="sel"></select>
+<select multiple dir="rtl" class="sel" size="5">
+<option>foo1</option>
+<option>foo2</option>
+<option>foo3</option>
+<option>foo4</option>
+<option>foo5</option>
+</select>
</div>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698