Summary: | Web Inspector: inherited CSS rules disappear from Styles sidebar while editing | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nikita Vasilyev <nvasilyev> | ||||||
Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||||
Priority: | P4 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
It doesn't look like a regression, it was broken in a 7 months old build (r177585). The problem only exists with inline styles, the following works as expected: <style> span {color: red} </style> <div> <span>Test</span> </div> This seem like a low priority bug, setting it to P4. Created attachment 257899 [details]
Patch
(In reply to comment #3) > Created attachment 257899 [details] > Patch I can confirm that this fixes the issue for the provided test case. Comment on attachment 257899 [details]
Patch
Do sections still update overrides when a duplicate property is added to the active section?
(In reply to comment #5) > Do sections still update overrides when a duplicate property is added to the > active section? From what I can tell, it still does (but obviously only if the property is in a section above the existing property or an important is added). Comment on attachment 257899 [details] Patch Clearing flags on attachment: 257899 Committed r187714: <http://trac.webkit.org/changeset/187714> All reviewed patches have been landed. Closing bug. |
Created attachment 257818 [details] Animated GIF of the problem <table> <tr style="font-weight: 300"> <td>font-weight: 300</td> </tr> </table> Steps: 1. Inspect <td> 2. In the styles sidebar, change "font-weight: 300" to "font-weight: " Expected: "font-weight: " stays where it was, even though it's invalid CSS. Actual: "font-weight: " disappears.