summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-valid/textarea/style.css
blob: 5c74ec8ae49d7bab51dd346d962950e60b83adc4 (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:valid {
  background-color: red;
}

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