RESOLVED FIXED278237
[css-anchor-position-1] Allow access to more anchor targets
https://bugs.webkit.org/show_bug.cgi?id=278237
Summary [css-anchor-position-1] Allow access to more anchor targets
David Choi
Reported 2024-08-16 10:39:59 PDT
The way we mark an anchor element as an eligible target for anchor-positioned elements is by maintaining an `anchorsForAnchorName` map. (It maps anchor-names to an array of anchor elements with that name.) In each style resolution round, this map is cleared and rebuilt while traversing the flat tree. As a result, this does not allow anchor-positioned elements to "see" anchor elements that come after it in tree order.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-16 10:40:49 PDT
David Choi
Comment 2 2024-08-16 10:54:13 PDT
EWS
Comment 3 2024-08-16 17:43:25 PDT
Committed 282377@main (5eaa137f32ae): <https://commits.webkit.org/282377@main> Reviewed commits have been landed. Closing PR #32305 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.