testing/web-platform/tests/css/css-backgrounds/background-clip/clip-border-area-border-image.html
author Dave Townsend <dtownsend@oxymoronical.com>
Mon, 14 Jul 2025 14:08:24 +0000 (14 hours ago)
changeset 796524 2ef57d67fd0616c054a8e385c6b76d6342e81f75
parent 751338 08c0413b3f652e8150f6bd2a69df916ecbac6633
permissions -rw-r--r--
Bug 1975002: Ensure we fully decode images before trying to use them in the Dock or Taskbar. r=profiles-reviewers,niklas Differential Revision: https://phabricator.services.mozilla.com/D256996
<!DOCTYPE html>
<html>
<head>
<title>CSS Backgrounds Test:  background-clip:border-area</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-4/#background-clip" >
<link rel="match" href="clip-border-area-border-image-ref.html">
<meta name="assert" content="The border-area fill respects background i geometry">
<style>
    .test {
        margin: 20px;
        width: 300px;
        height: 200px;
        box-sizing: border-box;
        border: 50px solid transparent;
        background-clip: border-area;
        background-image: url(../resources/green-100.png);
        background-size: 100px 100px;
        background-position: 15px 20px;
        border-image: url(../resources/stripes-100.png);
    }
</style>
</head>
<body>

<div class="test"></div>

</body>
</html>