Bug 196215
| Summary: | Web Inspector: Green highlight disappears from edited properties when adding a new property | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nikita Vasilyev <nvasilyev> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Nikita Vasilyev
# STEPS TO REPRODUCE:
1. inspect any page (https://devinrousso.com/demo/WebKit/test.html)
2. open the Elements tab
3. select any element that has at least one rule with at least two properties
4. disable (e.g. comment out) the first property of the rule with at least two properties
5. add a new property immediately after the first property
=> the green "modified" border/highlight next to the first property disappears
NOTES:
The problem is that properties get recreated (when they shouldn't be) and the recreated properties no longer have initialState.
Technically, this broke with https://trac.webkit.org/changeset/243256/webkit. However, reverting it is unlikely to be the correct solution.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/49229170>
Nikita Vasilyev
This should be addressed by the patch in https://bugs.webkit.org/show_bug.cgi?id=195264#c17.