wpt / css / css-gaps / parsing / gap-decorations-width-valid.html

Status: FAIL | Duration: 61ms | Subtests: 0/45 | 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
e.style['column-rule-width'] = "repeat(4, thin)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "repeat(3, thin, medium, thick)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "repeat(1, 10px, thin, medium, thick)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "10px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "repeat(4, medium)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "10px, 15px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "10px, 15px, 20px, 25px, 30px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "repeat(3, 10px), repeat(4, 15px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "10px, repeat(3, 20px), 30px, repeat(4, thin, medium, thick)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "repeat(4, 10px, 20px, 30px), repeat(5, 40px), 50px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "repeat(auto, thin)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "repeat(auto, 10px, 20px, 30px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "repeat(auto, 10px, 20px), 30px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "repeat(4, 10px, 20px, 30px), repeat(auto, 40px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-width'] = "10px, repeat(auto, 20px, 30px), repeat(4, thin, 50px, 60px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "repeat(4, thin)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "repeat(3, thin, medium, thick)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "repeat(1, 10px, thin, medium, thick)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "10px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "repeat(4, medium)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "10px, 15px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "10px, 15px, 20px, 25px, 30px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "repeat(3, 10px), repeat(4, 15px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "10px, repeat(3, 20px), 30px, repeat(4, thin, medium, thick)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "repeat(4, 10px, 20px, 30px), repeat(5, 40px), 50px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "repeat(auto, thin)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "repeat(auto, 10px, 20px, 30px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "repeat(auto, 10px, 20px), 30px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "repeat(4, 10px, 20px, 30px), repeat(auto, 40px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-width'] = "10px, repeat(auto, 20px, 30px), repeat(4, thin, 50px, 60px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "repeat(4, thin)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "repeat(3, thin, medium, thick)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "repeat(1, 10px, thin, medium, thick)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "10px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "repeat(4, medium)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "10px, 15px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "10px, 15px, 20px, 25px, 30px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "repeat(3, 10px), repeat(4, 15px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "10px, repeat(3, 20px), 30px, repeat(4, thin, medium, thick)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "repeat(4, 10px, 20px, 30px), repeat(5, 40px), 50px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "repeat(auto, thin)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "repeat(auto, 10px, 20px, 30px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "repeat(auto, 10px, 20px), 30px" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "repeat(4, 10px, 20px, 30px), repeat(auto, 40px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-width'] = "10px, repeat(auto, 20px, 30px), repeat(4, thin, 50px, 60px)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""

/css/css-gaps/parsing/gap-decorations-width-valid.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Gap Decorations: parsing column-rule-width with valid values</title>
<link rel="help" href="https://kbabbitt.github.io/css-gap-decorations/#column-row-rule-width">
<link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
<meta name="assert" content="*-rule-width supports the full grammar '[ <line-width-list> | <auto-line-width-list> ]'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
const properties = ["column-rule-width", "row-rule-width", "rule-width"];
for (let property of properties) {
    // <repeat-line-width>  = repeat( [ <integer [1,∞]> ] , [ <line-width> ]# )
    test_valid_value(property, "repeat(4, thin)");
    test_valid_value(property, "repeat(3, thin, medium, thick)");
    test_valid_value(property, "repeat(1, 10px, thin, medium, thick)");

    // <line-width-or-repeat> = [ <line-width> | <repeat-line-width> ]
    test_valid_value(property, "10px");
    test_valid_value(property, "repeat(4, medium)");

    // <line-width-list> = [ <line-width-or-repeat> ]+
    test_valid_value(property, "10px, 15px");
    test_valid_value(property, "10px, 15px, 20px, 25px, 30px");
    test_valid_value(property, "repeat(3, 10px), repeat(4, 15px)");
    test_valid_value(property, "10px, repeat(3, 20px), 30px, repeat(4, thin, medium, thick)");
    test_valid_value(property, "repeat(4, 10px, 20px, 30px), repeat(5, 40px), 50px");

    // <auto-repeat-line-width> = repeat( auto , [ <line-width> ]# )
    test_valid_value(property, "repeat(auto, thin)");
    test_valid_value(property, "repeat(auto, 10px, 20px, 30px)");

    // <auto-line-width-list>    = [ <line-width-or-repeat> ]*
    //                              <auto-repeat-line-width>
    //                              [ <line-width-or-repeat> ]*
    test_valid_value(property, "repeat(auto, 10px, 20px), 30px");
    test_valid_value(property, "repeat(4, 10px, 20px, 30px), repeat(auto, 40px)");
    test_valid_value(property, "10px, repeat(auto, 20px, 30px), repeat(4, thin, 50px, 60px)");
}
</script>
</body>
</html>