Bug 258130

Summary: Web Inspector: Elements tab breadcrumb navigation doesn't select node if there are sibling nodes
Product: WebKit Reporter: Jeff Johnson <opendarwin>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   
Attachments:
Description Flags
Screenshot of Safari web inspector none

Description Jeff Johnson 2023-06-15 07:06:13 PDT
Created attachment 466700 [details]
Screenshot of Safari web inspector

Steps to reproduce:
1. Open https://webkit.org/web-inspector/elements-tab/
2. Inspect Element on the paragraph "The top-left of the Main Content Area shows a breadcrumb navigation from the main document element to the selected DOM node, allowing for quick selection of relative DOM nodes."
3. Select div.bodycopy in the breadcrumb navigation area

Expected results: The node <div class="bodycopy"> is selected.

Actual results: Nothing happens. The <p> element is still selected.

Notes: In contrast, if you select article#post-11743.page in the breadcrumb navigation, the <article> element is selected, because it has no sibling nodes. div.bodycopy has 3 sibling nodes that appear in a popup, but selecting div.bodycopy in the popup still does nothing.
Comment 1 Radar WebKit Bug Importer 2023-06-22 07:07:14 PDT
<rdar://problem/111158315>