summaryrefslogtreecommitdiffstats
path: root/layout/reftests/high-contrast/prefers-contrast-005.html
blob: 40098041740125944802ff0e09f138eb2ec4c101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>no contrast preference should cause a black box to be
drawn</title>

<style type="text/css">
    div {
        width: 100px;
        height: 100px;
    }
    @media(prefers-contrast: no-preference) {
        div {
            outline: 2px solid black;
        }
    }
</style>
</head>
<body>
  <div></div>
</body>
</html>