wpt / css / css-backgrounds / background-clip / clip-border-area-complex.html

Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-backgrounds/background-clip/clip-border-area-complex.html

<!DOCTYPE html>
<html>
<head>
<title>CSS Backgrounds Test:  background-clip:border-area with mixed border styles</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-4/#background-clip">
<link rel="match" href="clip-border-area-complex-ref.html">
<meta name="assert" content="border-area: The border area is filled with the background image, following each side's border style">
<meta name="fuzzy" content="maxDifference=0-130; totalPixels=0-1100">
<style>
    .test {
        display: inline-block;
        margin: 20px;
        width: 300px;
        height: 150px;
        box-sizing: border-box;
        border: 50px solid transparent;
        background-clip: border-area;
        background-image: url(../resources/blue-100.png);
        border-right-style: double;
        border-bottom-style: dashed;
        border-left-style: dotted;
    }
</style>
</head>
<body>

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

</body>
</html>

/css/css-backgrounds/background-clip/clip-border-area-complex-ref.html

<!DOCTYPE html>
<html>
<head>
<style>
    .test {
        display: inline-block;
        margin: 20px;
        width: 300px;
        height: 150px;
        box-sizing: border-box;
        border: 50px solid blue;
        border-right-style: double;
        border-bottom-style: dashed;
        border-left-style: dotted;
    }
</style>
</head>
<body>

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

</body>
</html>