Closed Bug 2018353 Opened 9 months ago Closed 8 months ago

[wpt-sync] Sync PR 57952 - [gap-decorations] Allow space from content-distribution in flex (cross)

Categories

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

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Javier Contreras <javiercon@microsoft.com> wrote:

[gap-decorations] Allow space from content-distribution in flex (cross)

This CL accounts for content distribution space (justify-content:
space-between, space-around, space-evenly) when computing gap decoration
positions for flex containers.

Previously, cross gap intersection offsets only considered the gap
property value, causing gap decorations to be mispositioned when
justify-content distributed additional space between items.

Each flex line can now have a different effective cross gap size,
tracked via per-line gap sizes in GapGeometry.

This CL adds the corresponding tests.

A follow up CL will work on the same but for main gaps.

Bug: 357648037
Change-Id: Ibe8467d97aba0ec2ad30d10ec1d275d190a4eaf8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7585696
Reviewed-by: Sam Davis Omekara \<samomekarajr@microsoft.com>
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Commit-Queue: Sam Davis Omekara \<samomekarajr@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1588079}

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

CI Results

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

Total 54 tests

Status Summary

Firefox

PASS: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 4[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
FAIL: 6[GitHub] 50[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]

Chrome

FAIL: 6

Safari

FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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