Bug 274662

Summary: Web Inspector: Console's object tree view sometimes doesn't show ellipses for cut-off texts
Product: WebKit Reporter: Qianlang Chen <qianlangchen>
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
Video demo: ellipses sometimes do not show up none

Description Qianlang Chen 2024-05-24 10:38:06 PDT
Created attachment 471502 [details]
Video demo: ellipses sometimes do not show up

1. Open inspector's console
2. Run code:
    window
3. Expand the logged `window` object. Resize the window to make it wider/narrower
  - Observe that there are ellipses that show up on the right of texts if window becomes too narrow, which is expected and correct
4. Run code:
    [window]
5. Expand the logged object and resize the window again
  - Observe that there are no ellipses showing up on the right of cut-off texts this time, which is unexpected

See attached video demo.
  - You may notice a different bug going on which is that sometimes the logged object's name along with the expansion triangle icons disappear. This is a different bug filed at https://bugs.webkit.org/show_bug.cgi?id=274630
Comment 1 Radar WebKit Bug Importer 2024-05-24 10:38:26 PDT
<rdar://problem/128689545>