-
Notifications
You must be signed in to change notification settings - Fork 757
Open
Labels
Agenda+ LaterLower-priority items that are flagged for CSSWG discussionLower-priority items that are flagged for CSSWG discussionopen-uiIssues that desire to have Open UI inputIssues that desire to have Open UI inputselectors-4Current WorkCurrent Workselectors-5topic: form controls
Description
Gecko is implementing a clear button for <input type=search> consistent with other browsers: https://bugzilla.mozilla.org/show_bug.cgi?id=558594 and https://bugzilla.mozilla.org/show_bug.cgi?id=1654288
Screenshot:
Webkit currently has both ::-webkit-search-decoration (search icon in front) and ::-webkit-search-cancel-button (clear button). Chromium only has the latter (and it doesn't show a search icon inside <input type=search>). Note that both these pseudos are exposed to the web. It would be nice to unship them and see how often they're used.
It would be nice to standardise:
- what's shown inside
<input type=search>(ideally only the clear icon) - a standard pseudo element like
::search-input-clear-button, so web authors can style the clear icon without hiding the default one and re-implementing their own
SebastianZ, tylersticka and yisibl
Metadata
Metadata
Assignees
Labels
Agenda+ LaterLower-priority items that are flagged for CSSWG discussionLower-priority items that are flagged for CSSWG discussionopen-uiIssues that desire to have Open UI inputIssues that desire to have Open UI inputselectors-4Current WorkCurrent Workselectors-5topic: form controls
Type
Projects
Status
Unslotted
