[Webkit-unassigned] [Bug 207328] Search cancel button becomes visible when there's a hover effect in CSS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 6 06:41:36 PST 2020


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

--- Comment #1 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Created attachment 389949

  --> https://bugs.webkit.org/attachment.cgi?id=389949&action=review

WIP: update the style when a new renderer is created

It's the render tree updater that creates a new renderer for the search cancel button element in RenderTreeUpdater::updateRenderTree(). In that case, the input element doesn't know about it and RenderSearchField::updateCancelButtonVisibility() is not called. This patch fixes the problem by updating the style when the new renderer is created. I'll try to convert the attached test case into a proper layout test.

-- 
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/20200206/9e453087/attachment.htm>


More information about the webkit-unassigned mailing list