Closed Bug 2067670 Opened 3 months ago Closed 2 months ago

[wpt-sync] Sync PR 62250 - [grid] Fix is_fixed_container value in grid

Categories

(Core :: Layout: Grid, task, P4)

task

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kurt Catti-Schmidt <kschmi@microsoft.com> wrote:

[grid] Fix is_fixed_container value in grid

We are setting a variable named "is_fixed_container" to
node.IsAbsoluteContainer(), even though there's a variable right above
it that's named "is_absolute_container" set to the same value.

This was introduced in [1], and was likely a mistake in the revert.

This change sets the value to node.IsFixedContainer() and adds a WPT
that passes in Firefox and fails in main without the change.

  1. https://chromium-review.googlesource.com/c/chromium/src/+/4833670

Change-Id: I2e7d954c8581735a315743f172d417a501fcadfd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8301192
Reviewed-by: Alison Maher \<almaher@microsoft.com>
Commit-Queue: Kurt Catti-Schmidt \<kschmi@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1687634}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Layout: Grid
Product: Testing → Core
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 209 tests

Status Summary

Firefox

OK : 57
PASS: 1[GitHub] 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 3510[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 3658[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]
FAIL: 2[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-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-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

FAIL: 1

Safari

PASS: 1

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: --- → 157 Branch
You need to log in before you can comment on or make changes to this bug.