Bug 180321 - Web Inspector: Styles Redesign: adding a property before or after the first one appends it to the end
Summary: Web Inspector: Styles Redesign: adding a property before or after the first o...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-12-02 16:23 PST by Nikita Vasilyev
Modified: 2017-12-05 23:01 PST (History)
4 users (show)

See Also:


Attachments
[Animated GIF] Bug (275.13 KB, image/gif)
2017-12-02 16:23 PST, Nikita Vasilyev
no flags Details
Patch (2.61 KB, patch)
2017-12-02 16:46 PST, Nikita Vasilyev
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2017-12-02 16:23:09 PST
Created attachment 328263 [details]
[Animated GIF] Bug

Steps:
1. Open http://nv.github.io/webkit-inspector-bugs/styles-redesign/tests/overridden.html
2. Inspect <div class="out">
3. Click on the white space after ".out {" or "font-size: 14px"
4. Type "color: red"
5. Open overridden.css in Resources

Actual:
The newly added property "color: red" is at the end of ".out" CSS rule.

Expected:
The newly added property should be at the same position as it was in the styles sidebar.
Comment 1 Radar WebKit Bug Importer 2017-12-02 16:23:32 PST
<rdar://problem/35816402>
Comment 2 Nikita Vasilyev 2017-12-02 16:46:03 PST
Created attachment 328265 [details]
Patch
Comment 3 WebKit Commit Bot 2017-12-05 23:01:33 PST
Comment on attachment 328265 [details]
Patch

Clearing flags on attachment: 328265

Committed r225568: <https://trac.webkit.org/changeset/225568>
Comment 4 WebKit Commit Bot 2017-12-05 23:01:34 PST
All reviewed patches have been landed.  Closing bug.