summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-required/css-required-style-2.css
blob: 0670fb48e76d44a0497da50da00ff5975eeee38f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
input, textarea, select, button,
*:optional {
  visibility: hidden;
}

input[required]:required {
  visibility: visible;
}

/* Override the default style. */
:invalid {
  box-shadow: none;
}