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

Status: PASS | Duration: 79ms | Subtests: 27/27 | 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'] = "auto" should not set the property valuePASS
e.style['column-rule-width'] = "thin medium thick" should not set the property valuePASS
e.style['column-rule-width'] = "repeat(auto, thin 10px thick)" should not set the property valuePASS
e.style['column-rule-width'] = "repeat(0, 10px, 20px, 30px)" should not set the property valuePASS
e.style['column-rule-width'] = "repeat(-1, 10px, thin, medium)" should not set the property valuePASS
e.style['column-rule-width'] = "repeat(auto, 10px), thin, repeat(auto, thick)" should not set the property valuePASS
e.style['column-rule-width'] = "10 20 30" should not set the property valuePASS
e.style['column-rule-width'] = "repeat(2, -20px)" should not set the property valuePASS
e.style['column-rule-width'] = "30%" should not set the property valuePASS
e.style['row-rule-width'] = "auto" should not set the property valuePASS
e.style['row-rule-width'] = "thin medium thick" should not set the property valuePASS
e.style['row-rule-width'] = "repeat(auto, thin 10px thick)" should not set the property valuePASS
e.style['row-rule-width'] = "repeat(0, 10px, 20px, 30px)" should not set the property valuePASS
e.style['row-rule-width'] = "repeat(-1, 10px, thin, medium)" should not set the property valuePASS
e.style['row-rule-width'] = "repeat(auto, 10px), thin, repeat(auto, thick)" should not set the property valuePASS
e.style['row-rule-width'] = "10 20 30" should not set the property valuePASS
e.style['row-rule-width'] = "repeat(2, -20px)" should not set the property valuePASS
e.style['row-rule-width'] = "30%" should not set the property valuePASS
e.style['rule-width'] = "auto" should not set the property valuePASS
e.style['rule-width'] = "thin medium thick" should not set the property valuePASS
e.style['rule-width'] = "repeat(auto, thin 10px thick)" should not set the property valuePASS
e.style['rule-width'] = "repeat(0, 10px, 20px, 30px)" should not set the property valuePASS
e.style['rule-width'] = "repeat(-1, 10px, thin, medium)" should not set the property valuePASS
e.style['rule-width'] = "repeat(auto, 10px), thin, repeat(auto, thick)" should not set the property valuePASS
e.style['rule-width'] = "10 20 30" should not set the property valuePASS
e.style['rule-width'] = "repeat(2, -20px)" should not set the property valuePASS
e.style['rule-width'] = "30%" should not set the property valuePASS

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

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Gap Decorations: column-rule-width parsing</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 only the 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) {
    test_invalid_value(property, "auto");

    test_invalid_value(property, "thin medium thick");
    test_invalid_value(property, "repeat(auto, thin 10px thick)");
    test_invalid_value(property, "repeat(0, 10px, 20px, 30px)");
    test_invalid_value(property, "repeat(-1, 10px, thin, medium)");
    test_invalid_value(property, "repeat(auto, 10px), thin, repeat(auto, thick)");
    test_invalid_value(property, "10 20 30");
    test_invalid_value(property, "repeat(2, -20px)");
    test_invalid_value(property, "30%");
}

</script>
</body>
</html>