Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 406af9d4a91730657dd53fdf98dcffd9d4f21f65
https://github.com/WebKit/WebKit/commit/406af9d4a91730657dd53fdf98dcffd9d4f21f65
Author: Razvan Caliman <[email protected]>
Date: 2025-08-13 (Wed, 13 Aug 2025)
Changed paths:
M Source/WebInspectorUI/UserInterface/Views/FormattedValue.css
Log Message:
-----------
Web Inspector: DOM element previews in Object Tree outlines show newlines and
indentation
https://bugs.webkit.org/show_bug.cgi?id=296753
rdar://157225532
Reviewed by Devin Rousso.
Allow DOM node previews to wrap, ignoring any whitespace from the original
markup.
This overrides the inherited `white-space:pre-wrap` from the styles of the
console message body.
Without this patch, DOM node previews with newlines are rendered verbatim
creating the appearance that Web Inspector layout in the Console is broken.
* Source/WebInspectorUI/UserInterface/Views/FormattedValue.css:
(.formatted-node, .formatted-node-preview):
Canonical link: https://commits.webkit.org/298626@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes