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

Unified Diff: LayoutTests/fast/forms/select/listbox-overlay-scrollbar-expected.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-expected.html
diff --git a/LayoutTests/fast/forms/select/listbox-overlay-scrollbar-expected.html b/LayoutTests/fast/forms/select/listbox-overlay-scrollbar-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..00c85940dfb6b885185e32badd1b68c060edc79a
--- /dev/null
+++ b/LayoutTests/fast/forms/select/listbox-overlay-scrollbar-expected.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+html, body {
+ margin: 0;
+ padding: 0;
+}
+.container {
+ width: 100px;
+ height: 100px;
+ background-color: lime;
+ position: relative;
+}
+.scrollbar {
+ background-color: #808080;
+ position: absolute;
+}
+.vertical {
+ width: 3px;
+ height: 92px;
+}
+</style>
+<script>
+</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 class="container">
+<div class="scrollbar vertical" style="right: 4px; top: 4px;"></div>
+</div>
+<div dir="rtl" class="container">
+<div class="scrollbar vertical" style="left: 0px; top: 4px;"></div>
+</div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698