Closed Bug 2072485 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62729 - [gap-decorations] Preserve multicol rule pattern across fragmentation

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 62729 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/62729
Details from upstream follow.

Javier Contreras <javiercon@microsoft.com> wrote:

[gap-decorations] Preserve multicol rule pattern across fragmentation

Per CSSWG resolution [1], a row gap suppressed at a fragmentation
boundary still consumes one value from the gap-decoration pattern, so
list-valued row rules are assigned consistently in fragmented and
unfragmented contexts. Grid implements this already; this change does
the same for multicol.

This change preserves the row-rule pattern, including auto repeaters,
across those fragments.

The break token records where the next fragment should continue in the
row-rule pattern, counting suppressed row gaps but not rows that
continue across a boundary. During painting, this saved position is
combined with the gap's index in its fragment, while the last fragment
provides the total row-gap count needed by auto repeaters. We ignore
spanner main gaps because they do not represent painted row gaps.

[1]
https://github.com/w3c/csswg-drafts/issues/13754#issuecomment-4298143982

Bug: 505387221
Change-Id: Ib2a01dbf125a60c1ea63db4393a831ed5f5fac03
Reviewed-on: https://chromium-review.googlesource.com/8373741
WPT-Export-Revision: ad10b0d5fd50bdb169f910b5ea27e2f3745c929a

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests

Status Summary

Firefox

FAIL: 4

Chrome

PASS: 1
FAIL: 3

Safari

FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.