[wpt-sync] Sync PR 54598 - [anchor] Add support for "scrollable containing-block".
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox144 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
460.25 KB,
text/plain
|
Details |
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/12552To 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}
| Assignee | ||
Updated•10 months ago
|
| Assignee | ||
Comment 1•10 months ago
|
||
| Assignee | ||
Comment 2•10 months ago
|
||
Comment 4•10 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/22ee899b3d86
https://hg.mozilla.org/mozilla-central/rev/95e2d2b968d2
Description
•