Closed Bug 1986097 Opened 10 months ago Closed 10 months ago

[wpt-sync] Sync PR 54598 - [anchor] Add support for "scrollable containing-block".

Categories

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

task

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox144 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[anchor] Add support for "scrollable containing-block".

The anchor positioning spec was updated to use a "scrollable
containing-block" when anchorpos was used.

Initially this was only for when "position-area" was specified, but
recently resolve to change behaviour whenever we find a "default anchor"
instead. See: https://github.com/w3c/csswg-drafts/issues/12552

To do this, expose the "InflowBounds" which we use to calculate where
the padding-edge is located for within the scrollable overflow
calculator. We access the inflow-bounds, and add/subtract the padding in
the appropriate direction to get the padding-box edge.

This new behaviour is flagged behind the CSSAnchorUpdate flag.

Bug: 438515315
Change-Id: I11572e6905de017fbb6bece76cc50276fda19162
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6886660
Commit-Queue: Ian Kilpatrick \<ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne \<mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1508587}

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Attached file Notable wpt changes
# CI Results Ran 14 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 347 tests ## Status Summary ### Firefox `OK` : 3[GitHub] 212[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-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] `PASS`: 3[GitHub] 26[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 9595[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 9632[Gecko-windows11-64-24h2-debug] 9633[Gecko-windows11-64-24h2-opt] 9635[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] 9636[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] `FAIL`: 18[GitHub] 3883[Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt] 3950[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] 3951[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] 3952[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 3954[Gecko-windows11-64-24h2-opt] 3955[Gecko-windows11-64-24h2-debug] ### Chrome `OK` : 3 `PASS`: 3 `FAIL`: 18 ### Safari `OK` : 3 `PASS`: 3 `FAIL`: 18 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=43839601df665ee866d330f7db73d46b262d67a5) [GitHub PR Head](https://wpt.fyi/results/?sha=95449a5dd8df2378223bc67ea99e14240998952c&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=95449a5dd8df2378223bc67ea99e14240998952c&label=pr_base) ## Details (See attachment for full changes)
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: