Bug 238225

Summary: Web Inspector: Pressing Cmd-Z when editing CSS property restores browser tab
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: 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
Reported 2022-03-22 14:34:15 PDT
Steps: 1. Open a tab with apple.com 2. Close it 3. Open another tab with webkit.org 4. Inspect <body> 5. Add "font-size: 12px" CSS property 6. Press Cmd-Z several times Expected: "font-size: 12px" is removed Actual: "font-size: 12px" is removed, then Safari restores webkit.org tab. Notes: Perhaps adding event.preventDefault() to keydown/keypress/input event can fix this.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-03-22 14:34:53 PDT
Nikita Vasilyev
Comment 2 2022-04-22 02:08:03 PDT Comment hidden (obsolete)
Note You need to log in before you can comment on or make changes to this bug.