Bug 240775

Summary: Web Inspector: Layout panel doesn't always match visible nodes/order of nodes in document
Product: WebKit Reporter: Patrick Angle <pangle>
Component: Web InspectorAssignee: Patrick Angle <pangle>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

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.