Closed Bug 1840976 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 40800 - [anchor-position] Implement 'position-fallback-bounds'

Categories

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

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Xiaocheng Hu <xiaochengh@chromium.org> wrote:

[anchor-position] Implement 'position-fallback-bounds'

This patch implements the 'position-fallback-bounds' property by:
(1) Also checking the additional fallback-bounds rect in
NGOutOfFlowLayoutParts::CalculateOffset()
(2) Also keep track of the scroll offset of the additional bounds rect
in AnchorScrollData, and use that as an input (1)
(3) Augments the existing non-overflowing scroll range structure with
an additional range (see the NonOverflowingScrollRange struct) to
help determine whether the additional fallback-bounds rect is
overflown.

Spec: https://drafts.csswg.org/css-anchor-position-1/#fallback-bounds

Bug: 1455557
Change-Id: I60cd8c22e84d5d70d7f1f73258aa8d60c30480f4
Reviewed-on: https://chromium-review.googlesource.com/4655384
WPT-Export-Revision: 44c1f1ab18f18f04b946a03b1e1757ebe36076cd

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

CI Results

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

Total 5 tests and 3 subtests

Status Summary

Firefox

OK : 5
FAIL: 14

Chrome

OK : 5
PASS: 5
FAIL: 9

Safari

OK : 5
FAIL: 14

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8fa0d254b1f7
[wpt PR 40800] - [anchor-position] Implement 'position-fallback-bounds', a=testonly
https://hg.mozilla.org/integration/autoland/rev/7f6c75fa5f8a
[wpt PR 40800] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.