Skip to content

[css-gaps-1]: Defer percentages insets to future version of css gaps #13481

@oSamDavis

Description

@oSamDavis

In CSS Gaps 1, percentage values used for gap decoration segment endpoint adjustments currently resolve against the crossing gap width at a junction. However, this creates ambiguity and is confusing in layouts where the gap in a direction is not uniform. Specifically, in a multi-line flex layouts where the gap between items can vary due to content distribution/alignment:

Image

This issue proposes deferring percentage values for the inset properties to a future level of CSS Gaps, while we gather more author feedback and converge on an intuitive percentage basis and semantics.

Note: For the most common percentage use case (-50%), issue 13137 resolved to add a keyword. Therefore, the segment joining behavior still remains possible.

cc: @jav099 @kbabbitt

Metadata

Metadata

Assignees

Labels

Closed as RetractedWhen the person who raised the issue thinks that there's no issue after all.css-gaps-1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions