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

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