| <!DOCTYPE html> |
| <html class="reftest-wait"> |
| <meta charset="utf-8"> |
| <title> |
| Forced colors mode - backplate. |
| Tests that backplates of overlapping inline boxes do not overlap. |
| </title> |
| <link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced"> |
| <link rel=match href="forced-colors-mode-backplate-10-ref.html"> |
| <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> |
| <script src="../../common/reftest-wait.js"></script> |
| <link rel="preload" as="image" href="../resources/test-image.jpg" onload="takeScreenshot()" /> |
| <style> |
| body { |
| background-image: url("../resources/test-image.jpg"); |
| font-family: Ahem; |
| font-size: 10px; |
| line-height: 10px; |
| text-align: justify; |
| width: 100px; |
| } |
| </style> |
| <body> |
| <div> |
| <div> |
| The two backplates should not overlap |
| </div> |
| <br> |
| <div style="margin-top: -25px; z-index: -1;"> |
| in forced colors mode. |
| </div> |
| </div> |
| </body> |
| </html> |