Changeset 279294 in webkit
- Timestamp:
- Jun 25, 2021 11:50:15 AM (13 months ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/ObjectTreeView.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r278853 r279294 1 2021-06-25 Patrick Angle <pangle@apple.com> 2 3 Web Inspector: Sources: Scope Chain sidebar panel is stripping repeating whitespace from strings 4 https://bugs.webkit.org/show_bug.cgi?id=227234 5 6 Reviewed by Devin Rousso. 7 8 String and Regular Expression values in Object Trees were having `white-space: nowrap;` applied to them, which 9 was redundant because `white-space: pre;` was already defined for `.formatted-string` and `.formatted-regexp`, 10 which makes sure that the text does not wrap unless it contains a newline, and these previews have newlines 11 replaced with a Unicode symbol to visually represent a newline without breaking to a new line. 12 13 * UserInterface/Views/ObjectTreeView.css: 14 (.object-tree-property :matches(.formatted-string, .formatted-regexp)): Deleted. 15 1 16 2021-06-14 Patrick Angle <pangle@apple.com> 2 17 -
trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeView.css
r269166 r279294 140 140 vertical-align: -4px; 141 141 } 142 143 .object-tree-property :matches(.formatted-string, .formatted-regexp) {144 white-space: nowrap;145 }
Note: See TracChangeset
for help on using the changeset viewer.