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-009.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-Canvas-ref.html">
<meta name="assert" content="Same as Canvas. ">
<style>
.test { background-color: red; width: 12em; height: 6em; }
.ref { background-color: Canvas; width: 12em; height: 6em; }
@supports (color: InactiveCaption) {
.test { background-color: InactiveCaption; }
}
</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>