[Webkit-unassigned] [Bug 238225] New: Web Inspector: Pressing Cmd-Z when editing CSS property restores browser tab

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 22 14:34:15 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=238225

            Bug ID: 238225
           Summary: Web Inspector: Pressing Cmd-Z when editing CSS
                    property restores browser tab
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nvasilyev at apple.com
                CC: inspector-bugzilla-changes at group.apple.com,
                    webkit-bug-importer at group.apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220322/f1405ee5/attachment.htm>


More information about the webkit-unassigned mailing list