Closed Bug 2066932 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 62225 - [gap-decorations] Support assignment for reversed flex fragments

Categories

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

task

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Javier Contreras <javiercon@microsoft.com> wrote:

[gap-decorations] Support assignment for reversed flex fragments

This CL extends the accessor path used by unfragmented reversals so that
it can be used for fragmented reversals. CL:8248120.

Reversed flex gap-decoration values were assigned using fragment-local
gap indices. A gap that continued into another fragment could therefore
restart the value list or use the wrong value from that list.

Preserve placement-order indices across fragmentation. Main gaps use
their stitched container index. For cross gaps, layout records the
decoration index and we use that with the existing random-access value
accessor.

A follow up change will get rid of the iterator path entirely, since the
perf runs showed no regression:
https://pinpoint-dot-chromeperf.appspot.com/job/121450a3a90000

The follow up change also will improve the API from the painter's
perspective to abstract away container specific logic.

Bug: 357648037
Change-Id: I69cc881f0c00bf23c4b06517258288ce5ea3879e
Reviewed-on: https://chromium-review.googlesource.com/8287178
WPT-Export-Revision: b0c754cc05f6bca9fa790e206d934422f5b7bc85

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 36 tests

Status Summary

Firefox

PASS: 2
FAIL: 5[GitHub] 34[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-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

PASS: 1
FAIL: 4

Safari

FAIL: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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