testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-area-on-body-propagated-to-root.html
author Chun-Min Chang <chun.m.chang@gmail.com>
Tue, 15 Jul 2025 04:19:58 +0000 (9 hours ago)
changeset 796612 185f590c804be0dc5a6803e176e3a96bfecf686b
parent 768808 e0b34330da3d52ce19df6fe4d0906fbca8407e07
permissions -rw-r--r--
Bug 1974892 - Fix typo in WMFMediaDataEncoder's log r=media-playback-reviewers,alwu Differential Revision: https://phabricator.services.mozilla.com/D256733
<!DOCTYPE html>
<title>background-clip:border-area on the root</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-background-clip">
<link rel="match" href="../reference/green-root-background.html">
<style>
html, body {
  box-sizing: border-box;
  height: 100%;
  margin: 0;
}
html {
  color: transparent;
  border: 20px solid transparent;
}
body {
  background-color: green;
  background-clip: border-area;
}
</style>

The border should not be visible; the page should be entirely green.