[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
Wed May 18 10:28:18 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=238232
--- Comment #11 from Nikita Vasilyev <nvasilyev at apple.com> ---
(In reply to Razvan Caliman from comment #10)
> (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.
This line specifically causes the regression:
window.getSelection().setBaseAndExtent(textChildNode, newCaretPosition, textChildNode, newCaretPosition);
How, I don't know. I also don't know how to investigate any further, so, perhaps we should just not call that on blur specifically since is isn't needed in that case anyway.
--
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/20220518/3752ffae/attachment.htm>
More information about the webkit-unassigned
mailing list