Bug 316463
| Summary: | [css-anchor-position-1] Pseudo-elements that no longer exist are still in m_anchorPositionedToAnchorMap | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kiet Ho <kiet.ho> |
| Component: | Layout and Rendering | Assignee: | Kiet Ho <kiet.ho> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bfulgham, kiet.ho, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=316441 | ||
Kiet Ho
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
<rdar://problem/178860223>