Commit ef22b1e
committed
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@main1 parent 5b1023e commit ef22b1e
File tree
1 file changed
+1
-0
lines changed- Source/WebInspectorUI/UserInterface/Views
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
0 commit comments