[Webkit-unassigned] [Bug 207328] New: 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 05:27:45 PST 2020


            Bug ID: 207328
           Summary: Search cancel button becomes visible when there's a
                    hover effect in CSS
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: koivisto at iki.fi

Created attachment 389942

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

Test case

See the attached test case. To reproduce:

1. Click on the search cancel button to clear the text. The button is now hidden
2. Move the mouse and the button is visible again

Clicking again in the search field, or any other part of the document makes the button hide permanently. So, when the search field value is emptied the button visibility is correctly set to hidden in RenderSearchField::updateCancelButtonVisibility(), but as soon as the mouse is moved, the style visibility is changed to visible again (I couldn't find where).

If we remove the hover effect from the style then the button is correctly hidden, so it has to do with that somehow.

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/24cc714f/attachment-0001.htm>

More information about the webkit-unassigned mailing list