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

Side by Side Diff: LayoutTests/fast/forms/select/listbox-overlay-scrollbar-expected.html

Issue 644983002: Revert of Remove Overlay Scrollbar if not scrollable along the axis (patchset #9 id:1140001 of http… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 html, body { 5 html, body {
6 margin: 0; 6 margin: 0;
7 padding: 0; 7 padding: 0;
8 } 8 }
9 .container { 9 .container {
10 width: 100px; 10 width: 100px;
11 height: 100px; 11 height: 100px;
12 background-color: lime; 12 background-color: lime;
13 position: relative; 13 position: relative;
14 display: block;
15 font-family: "Arial";
16 font-size : 12pt;
17 } 14 }
18 .scrollbar { 15 .scrollbar {
19 background-color: #808080; 16 background-color: #808080;
20 position: absolute; 17 position: absolute;
21 } 18 }
22 .vertical { 19 .vertical {
23 width: 3px; 20 width: 3px;
24 height: 92px; 21 height: 92px;
25 } 22 }
26 </style> 23 </style>
27 <script> 24 <script>
28 </script> 25 </script>
29 </head> 26 </head>
30 <body> 27 <body>
31 <p>You should see 2 green boxes with overlay scrollbar. The second box 28 <p>You should see 2 green boxes with overlay scrollbar. The second box
32 should have a scrollbar on the left.</p> 29 should have a scrollbar on the left.</p>
33 30
34 <div class="container"> 31 <div class="container">
35 <option>foo1</option>
36 <option>foo2</option>
37 <option>foo3</option>
38 <option>foo4</option>
39 <option>foo5</option>
40 <div class="scrollbar vertical" style="right: 4px; top: 4px;"></div> 32 <div class="scrollbar vertical" style="right: 4px; top: 4px;"></div>
41 </div> 33 </div>
42 <div dir="rtl" class="container"> 34 <div dir="rtl" class="container">
43 <option>foo1</option>
44 <option>foo2</option>
45 <option>foo3</option>
46 <option>foo4</option>
47 <option>foo5</option>
48 <div class="scrollbar vertical" style="left: 4px; top: 4px;"></div> 35 <div class="scrollbar vertical" style="left: 4px; top: 4px;"></div>
49 </div> 36 </div>
50 </body> 37 </body>
51 </html> 38 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/select/listbox-overlay-scrollbar.html ('k') | LayoutTests/fast/scrolling/overlay-scrollbars.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698