RESOLVED FIXED 240775
Web Inspector: Layout panel doesn't always match visible nodes/order of nodes in document
https://bugs.webkit.org/show_bug.cgi?id=240775
Summary Web Inspector: Layout panel doesn't always match visible nodes/order of nodes...
Patrick Angle
Reported 2022-05-22 12:58:16 PDT
Layout panel does not show nodes in document order, doesn't always show newly attached nodes, and sometimes shows detached nodes because it doesn't observer NodeInserted/NodeRemoved, and just appends new layout containers to the end of the list. This is an issue for sites that dynamically add/remove elements from the DOM (including Web Inspector itself) because element order is not stable and detached nodes won't be able to have their overlays turned on in the backend anyways.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-05-22 12:58:23 PDT
Patrick Angle
Comment 2 2022-05-22 16:14:58 PDT
EWS
Comment 3 2022-05-23 16:43:17 PDT
Committed r294695 (250897@main): <https://commits.webkit.org/250897@main> Reviewed commits have been landed. Closing PR #897 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.