summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/button/style.css
blob: b52ea47cb59cbd0b8cdb872f6a6d83dced47933c (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.notinvalid {
  background-color: green;
}
button.notinvalid:invalid {
  background-color: red;
}

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