testing/web-platform/tests/html/editing/the-hidden-attribute/resources/spacer-and-container-ref.html
author Lando <lando@lando.test>
Fri, 11 Jul 2025 16:34:42 +0000 (69 minutes ago)
changeset 796119 507aed88eb5a92e2e77286f3242050fac00a8201
parent 780842 e5def39f506928bcecfd2804cf4cc7a2b4106fc9
permissions -rw-r--r--
Merge autoland to mozilla-central
<!doctype HTML>
<html>
<meta charset="utf8">
<title>Content Visibility: spacer and a container (reference)</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="help" href="https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found">

<style>
.spacer {
  width: 150px;
  height: 3000px;
  background: lightblue;
}
#container {
  contain: style layout;
  width: 150px;
  height: 150px;
}
</style>

<div class="spacer"></div>
<div id="container"></div>
</html>