summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-invalid/textarea/style.css
blob: 5d78b21de6cdb77a9cb0812583b9c4a93f2e0955 (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 */
textarea {
  border: 0px;
}

textarea.ref {
  background-color: green;
}

textarea:-moz-ui-invalid {
  box-shadow: none;
}

textarea.notinvalid {
  background-color: green;
}
textarea.notinvalid:-moz-ui-invalid {
  background-color: red;
}

textarea.invalid {
  background-color: red;
}
textarea.invalid:-moz-ui-invalid {
  background-color: green;
}