Bug 242697 - Web Inspector: Changes to a CSS Rule's selector not reflected in Changes panel
Summary: Web Inspector: Changes to a CSS Rule's selector not reflected in Changes panel
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-13 09:59 PDT by Razvan Caliman
Modified: 2022-07-13 10:02 PDT (History)
2 users (show)

See Also:


Attachments
Screenshot of bug: selector change not shown in Changes panel (56.11 KB, image/png)
2022-07-13 10:02 PDT, Razvan Caliman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Razvan Caliman 2022-07-13 09:59:45 PDT
Steps to reproduce:
- Inspect any node https://webkit.org
- Edit the CSS selector text of any CSS Rule in the Styles panel
- Switch to the Changes panel


Expected result:
The change to the selector text is shown

Actual result:
The change does not show up. 
If then editing a CSS declaration inside that CSS rule, the selector text of the rule in the Changes panel is misleading as if it were there from the beginning.
Comment 1 Razvan Caliman 2022-07-13 10:02:06 PDT
Created attachment 460860 [details]
Screenshot of bug: selector change not shown in Changes panel

The selector `.card .content.xxx` has been edited to add `.xxx`. 
It is grayed-out in Styles panel to reflect that it doesn't match the selected node.
The Changes panel does not reflect the changed selector text.
Comment 2 Radar WebKit Bug Importer 2022-07-13 10:02:36 PDT
<rdar://problem/96958615>