Closed Bug 2075764 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 62973 - [gap-decorations] Fix rule between grid spans

Categories

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

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Javier Contreras <javiercon@microsoft.com> wrote:

[gap-decorations] Fix rule between grid spans

A bug was found where rule would disappear between two adjacent
spanning grid items.

The reason for this is that currently, we mark a segment as blocked
when the cells adjacent to it are marked as occupied as spanners.

However, this missed the case of where the segment was flanked by two
different spanners, since both cells were still marked as occupied by
spanners.

This CL fixes this by recording the furthest end line of an item
covering each cell, then block a gap only if an item extends past its
boundary. Taking the maximum also preserves crossings when items
overlap.

Fixed: 564789128
Change-Id: I7793be1cb98aef1e741ffd2255182e9a2ffd89e2

Reviewed-on: https://chromium-review.googlesource.com/8451626
WPT-Export-Revision: 386b9949433cb7b1b70385cedb3f20576da21e26

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

CI Results

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

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

FAIL: 1

Safari

FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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