<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="utf-8">
<title>
  Forced colors mode - backplate.
  Tests that backplates are not painted behind hidden elements.
</title>
<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#forced">
<link rel=match href="forced-colors-mode-backplate-11-ref.html">
<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");
  }
</style>

<div style="visibility: hidden;">
  No blackplate should be painted in forced colors mode.
</div>
<div style="visibility: collapse;">
  No blackplate should be painted in forced colors mode.
</div>
</html>
