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-016.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-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: ThreeDDarkShadow) {
.test { background-color: ThreeDDarkShadow; }
}
</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>