[Webkit-unassigned] [Bug 238232] REGRESSION (r286611): Web Inspector: Style editor doesn't update on Cmd-Z

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 16 09:05:06 PDT 2022


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

--- Comment #10 from Razvan Caliman <rcaliman at apple.com> ---
(In reply to Nikita Vasilyev from comment #9)
> Created attachment 459316 [details]
> WIP
> 
> I still don't understand what's going on here but this fixes the bug 100% of
> the time ��

This will introduce another bug.

Removing `_applyPendingValue()` here prevents the completion suggestion from being applied on blur when clicking away from the completion menu. 

The cause for the bug is likely layout-related. The undo operation works reliably all the time as evidenced by changing a value to something outrageous, like `font-size: 90px`, then hitting CMD + Z. But whether the reverted value is correctly reflected in the UI depends on the workflow of navigating away from the text field.

Perplexingly, these workflows work:
- click away directly to collapse an accordion in the Computed panel, then CMD + Z
- hit tab / return until prompted to add a new CSS declaration, then CMD + Z

It doesn't help that there are multiple workflows to pick a completion suggestion to update the value (click, enter/tab, right-arrow) and each do something subtly different.

I'm continuing to investigate.

-- 
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/20220516/5ccb72ec/attachment.htm>


More information about the webkit-unassigned mailing list