Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / select-style.html
blobc8ba296248ee12e00c6b6412ba0c50f073167b76
1 This tests that styled popups look right. (Aqua for now- later, we will honor the styling).<br>
2 <select style="background-color:red">
3 <option>test</option>
4 </select>
5 <br>
7 This tests that background color is white by default regardless of the parent element.<br>
8 <span style="padding:5px;background-color:red">
9 <select>
10 <option>test</option>
11 </select>
12 </span>
13 <br>
15 This tests that background color is inherited from the parent if background-color:inherit is specified.<br>
16 <span style="padding:5px;background-color:red">
17 <select style="background:inherit">
18 <option>test</option>
19 </select>
20 </span>
21 <br>
23 This tests that background color is the same as the parent if background-color:transparent is specified.<br>
24 <span style="padding:5px;background-color:red">
25 <select style="background-color:transparent">
26 <option>test</option>
27 </select>
28 </span>
29 <br>
31 This tests that background is white if only background-image:none is specified.<br>
32 <select style="background-image:none">
33 <option>test</option>
34 </select>
35 <br>
37 This tests that the image specified for background-image is visible.<br>
38 <select style="background-image:url(resources/apple.gif)">
39 <option>test</option>
40 </select>