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...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
Keywords: InRadar
Depends on:
Reported: 2017-12-02 16:23 PST by Nikita Vasilyev
Modified: 2017-12-05 23:01 PST (History)
4 users (show)

See Also:

[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

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

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

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
Comment 2 Nikita Vasilyev 2017-12-02 16:46:03 PST
Created attachment 328265 [details]
Comment 3 WebKit Commit Bot 2017-12-05 23:01:33 PST
Comment on attachment 328265 [details]

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.