Skip to content

[css-gaps-1] Serializing column-rule shorthand from separate longhands #12201

@oSamDavis

Description

@oSamDavis

In CSS Gaps 1, the column-rule shorthand has been extended to support lists of values. This expanded grammar introduces complexity when serializing the shorthand, especially if the individual longhand properties—column-rule-width, column-rule-style, and column-rule-color—contain differing lengths or patterns. For example:

column-rule-width: repeat(auto, thin medium);
column-rule-style: repeat(3, dotted) solid;
column-rule-color: red blue repeat(auto, green);

In such cases, it becomes unclear how the column-rule shorthand should be computed and serialized. What should the resulting computed value be when the longhand properties differ in structure?

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Wednesday Afternoon

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions