wpt / css / css-backgrounds / parsing / border-image-outset-computed.html

Status: FAIL | Duration: 54ms | Subtests: 5/7 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
Property border-image-outset value '1px'PASS
Property border-image-outset value '1px 2'PASS
Property border-image-outset value '1px 2 3px'PASS
Property border-image-outset value '1px 2 3px 4'PASS
Property border-image-outset value '0 calc(0.5em + 10px) 3 calc(-0.5em + 10px)'PASS
Property border-image-outset value 'calc(10 + (sign(2cqw - 10px) * 5))'FAILassert_true: 'calc(10 + (sign(2cqw - 10px) * 5))' is a supported value for border-image-outset. expected true got false
Property border-image-outset value 'calc(10 + (sign(2cqw - 10px) * 5)) calc(20px + (sign(2cqw - 10px) * 5px)'FAILassert_true: 'calc(10 + (sign(2cqw - 10px) * 5)) calc(20px + (sign(2cqw - 10px) * 5px)' is a supported value for border-image-outset. expected true got false

/css/css-backgrounds/parsing/border-image-outset-computed.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Backgrounds and Borders: getComputedStyle().borderImageOutset</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-image-outset">
<meta name="assert" content="border-image-outset computed value is four values, each a number or absolute length.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
<style>
  #container {
    font-size: 40px;
    container-type: inline-size;
    width: 100px;
  }
</style>
</head>
<body>
<div id="container">
  <div id="target"></div>
</div>
<script>
test_computed_value("border-image-outset", "1px");
test_computed_value("border-image-outset", "1px 2");
test_computed_value("border-image-outset", "1px 2 3px");
test_computed_value("border-image-outset", "1px 2 3px 4");
test_computed_value("border-image-outset", "0 calc(0.5em + 10px) 3 calc(-0.5em + 10px)", "0 30px 3 0px");
test_computed_value("border-image-outset", "calc(10 + (sign(2cqw - 10px) * 5))", "5");
test_computed_value("border-image-outset", "calc(10 + (sign(2cqw - 10px) * 5)) calc(20px + (sign(2cqw - 10px) * 5px)", "5 15px");
</script>
</body>
</html>