contain-size-select-elem-005-ref.html (1329B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Reftest Reference</title> 6 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"> 7 <style> 8 select { 9 color: transparent; 10 /* We make scrollbars transparent because some <option> elements can cause 11 overflow, which can cause scrollbars to be active in the test and 12 inactive in the reference. But the test only cares about the sizing. */ 13 scrollbar-color: transparent transparent; 14 } 15 .fsMedium { 16 /* custom styling for some select elements, which is allowed to influence 17 their size (in the same way that it influences the size of an empty 18 select element): */ 19 font-size: 10px; 20 } 21 </style> 22 </head> 23 <body> 24 <select multiple ></select> 25 <select multiple size="1" ></select> 26 <select multiple class="fsMedium"></select> 27 28 <select multiple ></select> 29 <select multiple size="1" ></select> 30 <select multiple class="fsMedium"></select> 31 32 <br><br> 33 34 <select multiple ></select> 35 <select multiple size="1" ></select> 36 <select multiple class="fsMedium"></select> 37 38 <select multiple ></select> 39 <select multiple size="1" ></select> 40 <select multiple class="fsMedium"></select> 41 </body> 42 </html>