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

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

Issue 337323002: Fix for RenderListBox not showing vertical scrollbar with overlay-scrollbar enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix compilation error Created 6 years, 6 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
new file mode 100644
index 0000000000000000000000000000000000000000..ea8ed85f478dbb9ca3b7e4611e9798e189489cdb
--- /dev/null
+++ b/LayoutTests/fast/forms/select/listbox-overlay-scrollbar.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+html, body {
+ margin: 0;
+ padding: 0;
+}
+.sel {
+ border: 0;
+ width: 100px;
+ height: 100px;
+ background-color: lime;
+}
+</style>
+<script>
+if (window.internals) {
+ testRunner.dumpAsTextWithPixelResults();
+ internals.settings.setOverlayScrollbarsEnabled(true);
+ internals.settings.setMockScrollbarsEnabled(true);
+}
+</script>
+</head>
+<body>
+<p>You should see 2 green boxes with overlay scrollbar. The second box
+should have a scrollbar on the left.</p>
+
+<div>
+<select multiple class="sel"></select>
+</div>
+<div>
+<select multiple dir="rtl" class="sel"></select>
+</div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698