Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ef22b1e4b9c431f43e85495152f86942430641a6
      
https://github.com/WebKit/WebKit/commit/ef22b1e4b9c431f43e85495152f86942430641a6
  Author: Razvan Caliman <[email protected]>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M 
Source/WebInspectorUI/UserInterface/Views/HeapSnapshotInstancesContentView.css

  Log Message:
  -----------
  Web Inspector: Some rows with object previews are not visible in heap snapshot
https://bugs.webkit.org/show_bug.cgi?id=307579
rdar://170164522

Reviewed by Devin Rousso.

`WI.DataGrid` styles include `white-space: nowrap` in an attempt to truncate 
with an ellipsis
any long values in data grid cells.

`white-space: nowrap` an inheritable property. All DOM elements created by 
`WI.ObjectPreviewView`
nested within a data grid will inherit it. In some combinations this results in 
the entire
object preview being hidden if its contents are long enough that they would 
wrap.

This patch applies `white-space: normal` only to object previews nested within 
a data grid.

* 
Source/WebInspectorUI/UserInterface/Views/HeapSnapshotInstancesContentView.css:
(.heap-snapshot > .data-grid td .formatted-node-preview,):

Canonical link: https://commits.webkit.org/307358@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to