[Webkit-unassigned] [Bug 270951] New: Web Inspector: style edit undo sometimes apply multiple actions at once

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 13 19:03:18 PDT 2024


            Bug ID: 270951
           Summary: Web Inspector: style edit undo sometimes apply
                    multiple actions at once
           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: qianlangchen at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

When you undo or redo style edits in the inspector's Elements tab, sometimes more than one actions get applied at the same time (like sometimes it's as if you pressed #Z twice when you only pressed it once).

To reproduce:
1. Go to https://search.brave.com and inspect the <body> element
2. Change the background-color style to linen
3. Change the font-size style to 22px
4. Press command-Z
5. Observe that both background-color and font-size got undone
   - This does not always reproduce. Refresh the page and try again if it indeed didn't.

The expected behavior should be that one #Z should bring font-size back to its original value, and then only a second #Z should bring back the background-color.

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/20240314/1aa79b4b/attachment.htm>

More information about the webkit-unassigned mailing list