testing/web-platform/tests/css/css-backgrounds/background-position/background-position-right-in-body.html
author Serban Stanca <sstanca@mozilla.com>
Mon, 14 Jul 2025 00:37:50 +0300 (6 hours ago)
changeset 796395 57c30f1adca5fb5ccd4a9a09192c41e207e28d88
parent 689472 a3c2e1614dcf2454f0a01bf0f554e40e94d3c1a6
permissions -rw-r--r--
Revert "Bug 1950748 part 3: Don't return a caret inside an editor when no editor is focused. r=morgan" as requested for causing accessibility crashes (bug 1977012). This reverts commit aaf970807d281c28c1e937491719d996cb11648a. This reverts commit f5f2e3cf4d34c2430372ba790d77620837d56b75. This reverts commit 5565c5899c32c0b0f5446561a21c5b6499fd44c6.
<!doctype html>
<title>background-position with 'right' edge keywords when painting background for body in offset document root</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#background-position">
<link rel="match" href="../../filter-effects/reference/green-100x100.html">
<style>
  html {
    margin: 8px;
  }
  body {
    background-image: linear-gradient(green, green), linear-gradient(red, red);
    background-size: 100px 100px, 100px 100px;
    background-position: right 100% top 0%, left 0% top 0%;
    background-repeat: no-repeat;
  }
</style>
<body></body>