[Webkit-unassigned] [Bug 149197] REGRESSION(r188427): Web Inspector: Extra whitespace left behind in styles sidebar after clicking in and out

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 16 11:27:15 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=149197

--- Comment #3 from Joseph Pecoraro <joepeck at webkit.org> ---
(In reply to comment #2)
> Just so I understand, we want to have it such that new CSS styles that are
> added follow the same indentation of existing CSS, but remove any
> leading/trailing whitespace and extra newlines in the middle.  So it would
> format
> 
> body {
>     color: red;
> 
>     background-color: black;
> 
> }
> 
> into the style declaration with the following formatting:
> 
> body {
>     color: red;
>     background-color: black;
> }

Yep! In the sidebar I don't expect extra newlines in the middle if the editor is not focused. Preserving newlines in the actual StyleSheet's text would be nice, but I don't think we do that now so its fine if we reformat that a little.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150916/ddd54cd7/attachment.html>


More information about the webkit-unassigned mailing list