[Webkit-unassigned] [Bug 234376] New: Web Inspector: Elements tab DOM tree view reduces deeply-nested nodes to one character wide
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 15 18:20:02 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=234376
Bug ID: 234376
Summary: Web Inspector: Elements tab DOM tree view reduces
deeply-nested nodes to one character wide
Product: WebKit
Version: Safari Technology Preview
Hardware: Mac (Apple Silicon)
OS: macOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bugzilla at roguewhaler.net
CC: inspector-bugzilla-changes at group.apple.com
Created attachment 447306
--> https://bugs.webkit.org/attachment.cgi?id=447306&action=review
Testcase
Web Inspector's DOM tree prefers wrapping text rather than allowing horizontal scrolling. This is fine on simple pages, but on pages with deeply-nested DOM hierarchies (unfortunately common these days), the available width for nodes shrinks until they are one character wide.
By comparison, Firefox's DOM inspector appears to enforce the same maximum width on each DOM node, and still allows horizontal scrolling for the tree as a whole. which is much more legible.
STR:
1. On the attached test case, open Web Inspector and inspect the node that says "Inspect me" (using the default undocked Web Inspector width).
Expected:
The maximum width for each DOM node should be the same, regardless of depth, and the DOM tree view should scroll horizontally to accommodate deep hierarchies.
Actual:
As the DOM tree gets deeper, the maximum width for nodes at each level of depth gets narrower until they are one character wide.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211216/e2d216a5/attachment.htm>
More information about the webkit-unassigned
mailing list