Bug 258130 - Web Inspector: Elements tab breadcrumb navigation doesn't select node if there are sibling nodes
Summary: Web Inspector: Elements tab breadcrumb navigation doesn't select node if ther...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari 16
Hardware: Mac (Apple Silicon) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-15 07:06 PDT by Jeff Johnson
Modified: 2023-06-22 07:07 PDT (History)
2 users (show)

See Also:


Attachments
Screenshot of Safari web inspector (596.75 KB, image/png)
2023-06-15 07:06 PDT, Jeff Johnson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>