blob: 387aecacfb52afb1c6fe9c9fb535076e18e195ba [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>
Forced colors mode - backplate reference.
</title>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
body {
background-image: url("../resources/test-image.jpg");
font-family: Ahem;
font-size: 10px;
forced-color-adjust: none; /* This turns the backplate feature off in
forced colors mode. The backplate is
simulated in testing using a Window
background-color behind the text.
*/
line-height: 10px;
text-align: justify;
width: 100px;
}
#a {
background-color: Window;
}
</style>
<body>
<div id="a">
A backplate should be drawn behind the text
<br>
in forced colors mode
<br>
(forced-color-adjust is set to auto.)
</div>
<br><br><br>
<div>
There should NOT be a backplate drawn behind the text
<br>
in forced colors mode
<br>
(forced-color-adjust is set to none.)
</div>
</body>