Skip to content

[css-gaps-1]: Suppression of gaps/gutters across fragment breaks with spanning item #13362

Description

@oSamDavis

In issue 11520, we resolved to suppress gaps that overlap with a fragment break or are the last content before a break. The reasoning was that a page or fragment break already acts as a separator, which is the intended purpose of gaps. See:

Image

This issue is to propose a caveat to that resolution. In Grid layouts, a gap may overlap a fragment break while also being spanned by a spanning item. For example, Take this unfragmented grid:

Image

And a fragment break occurs here:
Image

The result will be:

Image

Suppressing the gap in such scenario would unintentionally suppress parts of the spanning item. Therefore, it makes sense to add an exception so that gaps are not suppressed when a spanning item covers the gap.

Metadata

Metadata

Assignees

Type

No type

Projects

Status
Wednesday afternoon

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions