blob: 78148be9b865a274dbeca71e9798958fcbc2d818 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
Forced colors mode - backplate reference.
Tests that backplates of overlapping inline boxes do not overlap.
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
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 background-color
of Window behind the text.
line-height: 10px;
text-align: justify;
width: 100px;
div {
background-color: Window;
The two backplates should not overlap
<div style="margin-top: -25px; z-index: -1;">
in forced colors mode.