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

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

Issue 347773002: Implement select listbox using shadow DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 .sel { 9 .sel {
10 border: 0; 10 border: 0;
11 width: 100px; 11 width: 100px;
12 height: 100px; 12 height: 100px;
13 background-color: lime; 13 background-color: lime;
14 display: block;
14 } 15 }
15 </style> 16 </style>
16 <script> 17 <script>
17 if (window.internals) { 18 if (window.internals) {
18 testRunner.dumpAsTextWithPixelResults(); 19 testRunner.dumpAsTextWithPixelResults();
19 internals.settings.setOverlayScrollbarsEnabled(true); 20 internals.settings.setOverlayScrollbarsEnabled(true);
20 internals.settings.setMockScrollbarsEnabled(true); 21 internals.settings.setMockScrollbarsEnabled(true);
21 } 22 }
22 </script> 23 </script>
23 </head> 24 </head>
24 <body> 25 <body>
25 <p>You should see 2 green boxes with overlay scrollbar. The second box 26 <p>You should see 2 green boxes with overlay scrollbar. The second box
26 should have a scrollbar on the left.</p> 27 should have a scrollbar on the left.</p>
27 28
28 <div> 29 <div>
29 <select multiple class="sel"></select> 30 <select multiple class="sel"></select>
30 </div> 31 </div>
31 <div> 32 <div>
32 <select multiple dir="rtl" class="sel"></select> 33 <select multiple dir="rtl" class="sel"></select>
33 </div> 34 </div>
34 </body> 35 </body>
35 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698