Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a833e49aefff6f0003ee8038d96b76f819870907
https://github.com/WebKit/WebKit/commit/a833e49aefff6f0003ee8038d96b76f819870907
Author: Razvan Caliman <[email protected]>
Date: 2025-08-08 (Fri, 08 Aug 2025)
Changed paths:
M Source/WebInspectorUI/UserInterface/Views/LayoutDetailsSidebarPanel.js
Log Message:
-----------
Web Inspector: Elements: Layout details sidebar shows up when selecting HTML
comment nodes
https://bugs.webkit.org/show_bug.cgi?id=297066
rdar://157769782
Reviewed by Devin Rousso.
Details sidebars have a check for the type of node they support so they don't
show up for irrelevant nodes.
The Layout details sidebar didn't override
WI.DOMDetailsSidebarPanel.prototype.supportsDOMNode()
which always returns true.
This patch makes the Layout sidebar check for the same type of node as the
Styles sidebar.
* Source/WebInspectorUI/UserInterface/Views/LayoutDetailsSidebarPanel.js:
(WI.LayoutDetailsSidebarPanel.prototype.supportsDOMNode):
Canonical link: https://commits.webkit.org/298386@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes