[wpt-sync] Sync PR 49762 - Don't hold dead layout objects in the anchor query machinery.
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox135 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49762 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49762
Details from upstream follow.
Morten Stenshorne <mstensho@chromium.org> wrote:
Don't hold dead layout objects in the anchor query machinery.
It's possible to enter the anchor machinery while layout is dirty (from
LocalFrame::UpdateScrollSnapshots()). That's bad in itself (see
crbug.com/384523570 ), but it's equally bad to keep destroyed layout
objects around. Therefore, store Element* instead of LayoutObject*.Bug: 381362589
Change-Id: Ifdc3b5b8c7d30977136fd9a2572ffc3354ab472d
Reviewed-on: https://chromium-review.googlesource.com/6097987
WPT-Export-Revision: a71d95efcca70349310cab7b0ad56a45b3c6bee6
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK
: 1
PASS
: 1
Chrome
CRASH
: 1
Safari
OK
: 1
PASS
: 1
Links
Comment 4•2 months ago
|
||
bugherder |
Description
•