summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/indeterminate.html
blob: b3d55c7af09b6b1e84392f4eb4d4559ae5b36989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
<head>
<style>
input:indeterminate {
  opacity: 0.5;
}

input:checked {
  opacity: 1.0;
}
</style>
</head>
<body>
<input type=checkbox id="one"> This checkbox should look 50% transparent and should
be in the mixed state.
<script>
document.getElementById('one').indeterminate = true
</script>
</body>
</html>