Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<meta charset="utf-8">
<title>CurrentColor can be used inside light-dark</title>
<link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
<style>
.square {
width: 100px;
height: 100px;
color: green;
background-color: light-dark(currentColor, currentColor);
}
</style>
<p>Test passes if there is a filled green square.</p>
<div class="square"></div>