Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-color/deprecated-sameas-017.html - WPT Dashboard Interop Dashboard
<!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="match" href="deprecated-sameas-ButtonFace-ref.html">
<meta name="assert" content="Same as ButtonFace.">
<style>
.test { background-color: red; width: 12em; height: 6em; }
.ref { background-color: ButtonFace; width: 12em; height: 6em; }
@supports (color: ThreeDFace) {
.test { background-color: ThreeDFace; }
}
</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>