Closed Bug 1653211 Opened 4 years ago Closed 4 years ago

Request: Align <input type='search'/> with other browsers - shows a "x" which clears the input on touch/click

Categories

(Core :: Layout: Form Controls, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 558594

People

(Reporter: georgelangham1990, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36

Steps to reproduce:

Used a <input type='search'/> as wanted the ability for the user to clear their input with button click, and didn't want to have to create custom functionality to do so.

Found that Firefox, unlike

Actual results:

Blink/Webkit with search focused, x inside which clears input on interaction.
EdgeHTML with search focused, x inside which clears input on interaction.
WebKit with search non focused, x inside which clears input on interaction.

Firefox with search focused, no x inside or way to quickly clear the input.

Expected results:

This isn't really a "should have happened", just a personal opinion, the inconsistency to me feels a bit weird.

Bug 558594 has some work in progress patches. Maybe Tim finishes them or someone else can take over that work, because it was pretty close...

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: