Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / select / styling-option-checked.html
blob165645470bc1ad2e4a2d7058070de8dddd3acd1f
1 <!DOCTYPE html>
2 <style>
3 option {
4 /* background-color and color are overridden for checked options */
5 background-color: lightgreen;
6 color: red;
7 /* properties other than background-color and color apply to checked options */
8 padding-left: 20px;
10 option:checked {
11 /* properties other than background-color and color apply normally */
12 text-decoration: underline;
14 </style>
15 <select multiple autofocus>
16 <option>foo</option>
17 <option selected>bar</option>
18 </select>