This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Web Inspector: Sources: Scope Chain sidebar panel is stripping repeat…
…ing whitespace from strings https://bugs.webkit.org/show_bug.cgi?id=227234 Reviewed by Devin Rousso. String and Regular Expression values in Object Trees were having `white-space: nowrap;` applied to them, which was redundant because `white-space: pre;` was already defined for `.formatted-string` and `.formatted-regexp`, which makes sure that the text does not wrap unless it contains a newline, and these previews have newlines replaced with a Unicode symbol to visually represent a newline without breaking to a new line. * UserInterface/Views/ObjectTreeView.css: (.object-tree-property :matches(.formatted-string, .formatted-regexp)): Deleted. Canonical link: https://commits.webkit.org/239170@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 15 additions and 4 deletions.