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

Status: FAIL | Duration: 59ms | 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-color'] = "repeat(4, blue)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "repeat(3, red, green, blue)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "repeat(1, red, green, blue, yellow)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "red" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "repeat(4, cyan)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "green, blue" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "red, blue, green, yellow, pink" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "repeat(3, blue), repeat(4, red)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "red, repeat(3, blue), blue, repeat(4, red, green, cyan)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "repeat(4, red, green, cyan), repeat(5, yellow), blue" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "repeat(auto, red)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "repeat(auto, red, green, blue)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "repeat(auto, red, green), red" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "repeat(4, blue, red, green), repeat(auto, red)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['column-rule-color'] = "blue, repeat(auto, red, green), repeat(4, blue, red, green)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "repeat(4, blue)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "repeat(3, red, green, blue)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "repeat(1, red, green, blue, yellow)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "red" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "repeat(4, cyan)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "green, blue" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "red, blue, green, yellow, pink" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "repeat(3, blue), repeat(4, red)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "red, repeat(3, blue), blue, repeat(4, red, green, cyan)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "repeat(4, red, green, cyan), repeat(5, yellow), blue" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "repeat(auto, red)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "repeat(auto, red, green, blue)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "repeat(auto, red, green), red" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "repeat(4, blue, red, green), repeat(auto, red)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['row-rule-color'] = "blue, repeat(auto, red, green), repeat(4, blue, red, green)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "repeat(4, blue)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "repeat(3, red, green, blue)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "repeat(1, red, green, blue, yellow)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "red" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "repeat(4, cyan)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "green, blue" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "red, blue, green, yellow, pink" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "repeat(3, blue), repeat(4, red)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "red, repeat(3, blue), blue, repeat(4, red, green, cyan)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "repeat(4, red, green, cyan), repeat(5, yellow), blue" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "repeat(auto, red)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "repeat(auto, red, green, blue)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "repeat(auto, red, green), red" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "repeat(4, blue, red, green), repeat(auto, red)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['rule-color'] = "blue, repeat(auto, red, green), repeat(4, blue, red, green)" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""

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

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Gap Decorations: parsing column-rule-color with valid values</title>
<link rel="help" href="https://drafts.csswg.org/css-gaps-1/#column-row-rule-color">
<link rel="author" title="Sam Davis Omekara Jr." href="mailto:samomekarajr@microsoft.com">
<meta name="assert" content="column-rule-color supports the full grammar '[ <line-color-list> | <auto-line-color-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-color", "row-rule-color", "rule-color"];
for (let property of properties) {
    // <repeat-line-color>  = repeat( [ <integer [1,∞]> ] , [ <color> ]# )
    test_valid_value(property, "repeat(4, blue)");
    test_valid_value(property, "repeat(3, red, green, blue)");
    test_valid_value(property, "repeat(1, red, green, blue, yellow)");

    // <line-color-or-repeat> = [ <color> | <repeat-line-color> ]
    test_valid_value(property, "red");
    test_valid_value(property, "repeat(4, cyan)");

    // <line-color-list> = [ <line-color-or-repeat> ]+
    test_valid_value(property, "green, blue");
    test_valid_value(property, "red, blue, green, yellow, pink");
    test_valid_value(property, "repeat(3, blue), repeat(4, red)");
    test_valid_value(property, "red, repeat(3, blue), blue, repeat(4, red, green, cyan)");
    test_valid_value(property, "repeat(4, red, green, cyan), repeat(5, yellow), blue");

    // <auto-repeat-line-color>   = repeat( auto , [ <color> ]# )
    test_valid_value(property, "repeat(auto, red)");
    test_valid_value(property, "repeat(auto, red, green, blue)");

    // <auto-line-color-list>    = [ <line-color-or-repeat> ]*
    //                              <auto-repeat-line-color>
    //                              [ <line-color-or-repeat> ]*
    test_valid_value(property, "repeat(auto, red, green), red");
    test_valid_value(property, "repeat(4, blue, red, green), repeat(auto, red)");
    test_valid_value(property, "blue, repeat(auto, red, green), repeat(4, blue, red, green)");
}
</script>
</body>
</html>