testing/web-platform/tests/css/css-backgrounds/background-attachment-local/attachment-local-clipping-image-5.html
author Lando <lando@lando.test>
Fri, 11 Jul 2025 09:11:47 +0000 (2 hours ago)
changeset 796052 0a0cf87651274d2f86228467e41dafd62a510749
parent 560522 5fd950e171a2d00287d741f9e91b7fe8cf00cc2a
permissions -rw-r--r--
Merge autoland to mozilla-central
<!doctype html>
<title>CSS Test: background-{attachment: local; clip: padding-box; image}; border-radius</title>
<link rel="match" href="attachment-local-clipping-image-4-ref.html" />
<meta name="flags" content="dom" />
<meta name=fuzzy content="0-10;0-300">
<link rel="author" title="Simon Sapin" href="http://exyr.org/about/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-attachment" />
<style>
#outer {
  width: 200px;
  height: 200px;
  padding: 40px;
  border: 10px double;
  overflow: hidden;
  border-radius: 50%;
  background: url(aqua-yellow-32x32.png) local padding-box;
}
#outer div {
  height: 500px;
}
p {
  margin-top: 20px;
}
</style>
<div id=outer>
  <div>
    <p>Test</p>
  </div>
</div>
<script>
document.getElementById('outer').scrollTop = 15;
</script>