wpt / css / css-gaps / parsing / rule-break-shorthand.html

Status: FAIL | Duration: 38ms | Subtests: 0/9 | 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['rule-break'] = "intersection" should set column-rule-breakFAILassert_equals: column-rule-break should be canonical expected "intersection" but got ""
e.style['rule-break'] = "intersection" should set row-rule-breakFAILassert_equals: row-rule-break should be canonical expected "intersection" but got ""
e.style['rule-break'] = "intersection" should not set unrelated longhandsFAILassert_true: expected true got false
e.style['rule-break'] = "none" should set column-rule-breakFAILassert_equals: column-rule-break should be canonical expected "none" but got ""
e.style['rule-break'] = "none" should set row-rule-breakFAILassert_equals: row-rule-break should be canonical expected "none" but got ""
e.style['rule-break'] = "none" should not set unrelated longhandsFAILassert_true: expected true got false
e.style['rule-break'] = "normal" should set column-rule-breakFAILassert_equals: column-rule-break should be canonical expected "normal" but got ""
e.style['rule-break'] = "normal" should set row-rule-breakFAILassert_equals: row-rule-break should be canonical expected "normal" but got ""
e.style['rule-break'] = "normal" should not set unrelated longhandsFAILassert_true: expected true got false

/css/css-gaps/parsing/rule-break-shorthand.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Gap Decorations: rule-break sets longhands</title>
<link rel="help" href="https://www.w3.org/TR/css-gaps-1/#propdef-rule-break">
<meta name="assert" content="rule-break supports the full grammar '<*-rule-break>'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/shorthand-testcommon.js"></script>
</head>
<body>
<script>
const rule_properties = {
    'rule-break': ['column-rule-break',
                    'row-rule-break'],
};

const testCases = [
    {
        input: 'intersection',
        expected: {
            column: 'intersection',
            row: 'intersection'
        }
    },
    {
        input: 'none',
        expected: {
            column: 'none',
            row: 'none'
        }
    },
    {
        input: 'normal',
        expected: {
            column: 'normal',
            row: 'normal'
        }
    },
  ];

for(rule_property in rule_properties) {
    const [column, row] = rule_properties[rule_property];

    for (const { input, expected } of testCases) {
            test_shorthand_value(rule_property, input, {
                [column]: expected.column,
                [row]: expected.row
            });
    }
}
</script>
</body>
</html>