RESOLVED WONTFIX Bug 112684
Web Inspector: Behavior of the return key in the Styles details sidebar is unintuitive
https://bugs.webkit.org/show_bug.cgi?id=112684
Summary Web Inspector: Behavior of the return key in the Styles details sidebar is un...
Adrian von Gegerfelt
Reported 2013-03-19 05:08:38 PDT
Created attachment 193798 [details] Word-wrapping in Styles pane. Scenario: Example: float: left; Clicking in the middle of the word 'float' Behaviour: Adds carriage return in middle of word, wrapping it down, removes left margin of panel style and nullifies effect of CSS declaration. Same goes if you clicked inside the word 'left'. Please see attached screenshot. Expected behaviour: New, empty, declaration added underneath, with marker set to far left.
Attachments
Word-wrapping in Styles pane. (10.07 KB, image/png)
2013-03-19 05:08 PDT, Adrian von Gegerfelt
no flags
Radar WebKit Bug Importer
Comment 1 2013-03-19 05:16:06 PDT
Timothy Hatcher
Comment 2 2013-03-19 05:53:43 PDT
So you want pressing return anywhere in the line to add a newline without breaking the current line in the middle? I'm not sure about this. The new Styles sidebar is just a text editor with special markers. We want to allow developers to add and remove line breaks wherever they want. What you request is possible, I'm just not sure if it is the best or expected behavior for everyone.
Blaze Burg
Comment 3 2017-01-02 17:21:26 PST
Behaves as expected per Tim's comment. We are not going to change this editing model.
Note You need to log in before you can comment on or make changes to this bug.