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

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