Bug 272039

Summary: Web Inspector: Reopening inspector re-checks unchecked style properties in style details panel
Product: WebKit Reporter: Qianlang Chen <qianlangchen>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: All   
OS: All   
Attachments:
Description Flags
Video demo: `background` style loses unchecked state to reopen of inspector none

Description Qianlang Chen 2024-04-02 10:36:35 PDT
Created attachment 470726 [details]
Video demo: `background` style loses unchecked state to reopen of inspector

In the style details panel:
1. Uncheck a style to comment it out
2. Reopen the inspector
   => That style becomes checked again (but the webpage still stays in the state with that style unapplied)

Expected behavior: reopening the inspector should retain unchecked styles unchecked.

See attached video demo.
Comment 1 Radar WebKit Bug Importer 2024-04-02 10:37:05 PDT
<rdar://problem/125791354>