Bug 299445

Summary: Web Inspector: Elements: Unable to navigate with keyboard past `<style>` element in DOM tree
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test case none

Razvan Caliman
Reported 2025-09-24 09:02:29 PDT
Created attachment 476847 [details] Test case You can get stuck in a loop while navigating the DOM tree via keyboard when encountering nodes that toggle the supported details sidebars of the Elements tab. For example, navigating onwards from the text node with contents of a `<style>` tag causes the opening tag to be selected instead of continuing to the closing `</style>` tag. The issue also happens when inspecting the Shadow DOM of a `<video>` element. Keyboard navigation gets stuck in a loop inside the shadow DOM subtree because inspecting the <video> element toggles the Media details sidebar.
Attachments
Test case (376 bytes, text/html)
2025-09-24 09:02 PDT, Razvan Caliman
no flags
Razvan Caliman
Comment 1 2025-09-24 09:02:40 PDT
Razvan Caliman
Comment 2 2025-09-24 10:04:00 PDT
EWS
Comment 3 2025-09-24 11:11:32 PDT
Committed 300471@main (44655d4ac525): <https://commits.webkit.org/300471@main> Reviewed commits have been landed. Closing PR #51264 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.