summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/select/style.css
blob: 32bb6a7f00472760ba2d2a85d09a038769e7097d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Override default style */
select:invalid {
  box-shadow: none;
}

select.notvalid {
  background-color: green;
}
select.notvalid:valid {
  background-color: red;
}

select.valid {
  background-color: red;
}
select.valid:valid {
  background-color: green;
}