WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
316463
[css-anchor-position-1] Pseudo-elements that no longer exist are still in m_anchorPositionedToAnchorMap
https://bugs.webkit.org/show_bug.cgi?id=316463
Summary
[css-anchor-position-1] Pseudo-elements that no longer exist are still in m_a...
Kiet Ho
Reported
2026-06-05 17:32:10 PDT
This addresses the root cause of
bug 316441
. m_anchorPositionedToAnchorMap is keyed on WeakStyleable. WeakStyleable is null if the Element is null, but not if the Styleable is a pseudo-element, and the pseudo-element no longer exists (by that I mean, RenderTreeUpdater::GeneratedContent::updateBeforeOrAfterPseudoElement determines a pseudo-element is no longer needed and clears it). Hence it's possible for stale pseudo-elements to still be in m_anchorPositionedToAnchorMap
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-06-05 17:32:17 PDT
<
rdar://problem/178860223
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug