blob: 8b720258ae7dea5d890c81771e482d71c2fc42f2 [file] [log] [blame]
<html>
<head>
<title>CSS4 media query test: prefers-contrast.</title>
<style type="text/css">
p { color: black; }
@media (prefers-contrast) {
#a { color: green; }
}
</style>
</head>
<body>
<p id="a"></p>
<p>Before was: <span id="before">rgb(0, 0, 0)</span> - should be rgb(0, 0, 0)</p>
<p>After was: <span id="after">rgb(0, 128, 0)</span> - should be rgb(0, 128, 0)</p>
</body>
</html>