summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-color/deprecated-sameas-020.html
blob: 85dc1261d3764f8ee199a7458eb420dceecf574d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Color 4: deprecated system colors</title>
<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
<link rel="help" href="https://drafts.csswg.org/css-color-4/#deprecated-system-colors">
<link rel="match" href="deprecated-sameas-ButtonBorder-ref.html">
<meta name="assert" content="Same as ButtonBorder.">
<style>
    .test { background-color: red; width: 12em; height: 6em; }
    .ref { background-color: ButtonBorder; width: 12em; height: 6em; }
    @supports (color: ThreeDShadow) {
        .test { background-color: ThreeDShadow; }
    }
</style>
<body>
    <p>Test passes if you see a square, not two rectangles of different colors; and no red.</p>
    <div class="test"></div>
    <div class="ref"></div>
</body>