summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ui-valid/textarea/style.css
blob: 3ffe6c687bdc25f3443c4b2e165f6288d7e999b6 (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:invalid {
  box-shadow: none;
}

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

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