Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / select / listbox-intrinsic-min-width-applies-with-fixed-width.html
blobc630ca2bb28d9fdfa817736486d38522ccfbf29f
1 <!DOCTYPE html>
2 <style>
3 .min-content {
4 width: 1px;
5 min-width: -webkit-min-content;
6 min-width: -moz-min-content;
7 min-width: -ie-min-content;
8 min-width: -o-min-content;
9 min-width: min-content;
11 .max-content {
12 width: 1px;
13 min-width: -webkit-max-content;
14 min-width: -moz-max-content;
15 min-width: -ie-max-content;
16 min-width: -o-max-content;
17 min-width: max-content;
19 .fit-content {
20 width: 1px;
21 min-width: -webkit-fit-content;
22 min-width: -moz-fit-content;
23 min-width: -ie-fit-content;
24 min-width: -o-fit-content;
25 min-width: fit-content;
27 select {
28 outline: 2px solid;
29 margin: 0;
31 </style>
32 <body>
33 <p>Check that min-width intrinsic size still applies if a fixed width is set.</p>
35 <select multiple class="min-content"></select>
37 <select multiple class="max-content"></select>
39 <select multiple class="fit-content"></select>
41 <div style="width: 30px">
42 <select multiple class="fit-content"></select>
43 </div>
45 <div style="width: 10px">
46 <select multiple class="fit-content"></select>
47 </div>
49 </body>