Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

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