summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-invalid/input/style.css
blob: e3e221a26fe3714713ec1b5a62637ea12c2c1149 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Override default style */
input {
  -moz-appearance: none;
  background: none;
}
input:invalid {
  box-shadow: none;
}

input.notinvalid {
  box-shadow: 0 0 1.5px 1px green;
}
input.notinvalid:invalid {
  box-shadow: 0 0 1.5px 1px red;
}

input.invalid {
  box-shadow: 0 0 1.5px 1px red;
}
input.invalid:invalid {
  box-shadow: 0 0 1.5px 1px green;
}

input.ref {
  box-shadow: 0 0 1.5px 1px green;
}