Bug 282348

Summary: Web Inspector: Containers for DOMTreeOutline in Audit and Console do not scroll for for expanded deep trees
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
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
Screenshot of bug in Audit tab
none
Screenshot of bug in Console none

Razvan Caliman
Reported 2024-10-30 12:37:47 PDT
The change introduced in https://bugs.webkit.org/show_bug.cgi?id=234376 ensures a minimum width for DOM tree outline items so they don't get wrapped to unusable widths in narrow containers. WI.DOMTreeContentView was already a scroll container, meaning a deep node tree can be expanded and introduce horizontal overflow as needed. But there are other uses of WI.DOMTreeOutline in Web Inspector where their containers are not scroll containers. This makes it impossible to fully expand a deep node tree in those contexts: https://github.com/WebKit/WebKit/blob/076349f5d081726a70e001209bb231dd767051ae/Source/WebInspectorUI/UserInterface/Views/FormattedValue.js#L90 https://github.com/WebKit/WebKit/blob/076349f5d081726a70e001209bb231dd767051ae/Source/WebInspectorUI/UserInterface/Views/AuditTestCaseContentView.js#L228 This is a separate bug, unrelated to the change in https://bugs.webkit.org/show_bug.cgi?id=234376.
Attachments
Test case (553 bytes, text/html)
2024-10-30 12:39 PDT, Razvan Caliman
no flags
Screenshot of bug in Audit tab (780.93 KB, image/png)
2024-10-30 12:40 PDT, Razvan Caliman
no flags
Screenshot of bug in Console (739.94 KB, image/png)
2024-10-30 12:40 PDT, Razvan Caliman
no flags
Razvan Caliman
Comment 1 2024-10-30 12:39:23 PDT
Created attachment 473085 [details] Test case
Radar WebKit Bug Importer
Comment 2 2024-10-30 12:39:39 PDT
Razvan Caliman
Comment 3 2024-10-30 12:40:14 PDT
Created attachment 473086 [details] Screenshot of bug in Audit tab
Razvan Caliman
Comment 4 2024-10-30 12:40:30 PDT
Created attachment 473087 [details] Screenshot of bug in Console
Note You need to log in before you can comment on or make changes to this bug.