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

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

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