RESOLVED FIXED 275938
[css-anchor-position-1] Add style and layout interleaving for `anchor()`
https://bugs.webkit.org/show_bug.cgi?id=275938
Summary [css-anchor-position-1] Add style and layout interleaving for `anchor()`
David Choi
Reported 2024-06-26 20:33:10 PDT
The spec dictates that `anchor()` calls must be resolved at computed value time. We therefore must bounce between style and layout to properly resolve `anchor()` calls to a <length> for the computed style. https://drafts.csswg.org/css-anchor-position-1/#interleaving
Attachments
Radar WebKit Bug Importer
Comment 1 2024-06-26 20:34:05 PDT
Tim Nguyen (:ntim)
Comment 2 2024-06-26 21:53:04 PDT
There's some code in Document::resolveStyle() doing that for @container queries
David Choi
Comment 3 2024-06-26 22:17:38 PDT
EWS
Comment 4 2024-07-01 11:15:34 PDT
Committed 280543@main (5f0104f4e2cd): <https://commits.webkit.org/280543@main> Reviewed commits have been landed. Closing PR #30224 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.