Closed Bug 1962044 Opened 22 days ago Closed 20 days ago

[wpt-sync] Sync PR 52119 - Alignment for block statically positioned OOF elements

Categories

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

task

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alison Maher <almaher@microsoft.com> wrote:

Alignment for block statically positioned OOF elements

Pass up the alignment block/inline edge within the static position of
OOFs added in the block layout algorithm.

This will result in statically positioned insets taking self-alignment
into account [1].

A similar change for inline layout will soon follow.

(This change also fixes a minor misalignment of HTML code in
third_party/blink/web_tests/external/wpt/css/css-align/abspos/align-items-static-position.html
and its ref file).

[1] https://drafts.csswg.org/css-position-3/#staticpos-rect

Bug: 409806799
Change-Id: I48137aa87ab453f49103f8b7e7013711a1a791a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6450252
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Commit-Queue: Alison Maher \<almaher@microsoft.com>
Commit-Queue: Ian Kilpatrick \<ikilpatrick@chromium.org>
Auto-Submit: Alison Maher \<almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1450362}

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 3 tests

Status Summary

Firefox

PASS: 1
FAIL: 2

Chrome

PASS: 1
FAIL: 2

Safari

FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by smolnar@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/3ecd9433611c [wpt PR 52119] - Alignment for block statically positioned OOF elements, a=testonly https://hg.mozilla.org/mozilla-central/rev/653cf27bbd2f [wpt PR 52119] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
You need to log in before you can comment on or make changes to this bug.