Open Bug 1655431 Opened 4 years ago Updated 4 years ago

Add a web-exposed way to style/remove the clear icon on <input type="search">

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

People

(Reporter: ntim, Unassigned)

References

(Blocks 1 open bug)

Details

Some ideas were:

  1. appearance: none/appearance: textfield to hide the clear button
  2. exposing a standard pseudo or the webkit exposed one to change the clear button image

They both aren't too hard to implement, just depends on what the decision here is.

I think 1. has the merit of being simple and not exposing too many implementation details, while 2. has the merit of not encouraging web authors to hide the default clear button and re-implementing their own (though I guess people already used to do this for webkit/blink because the clear button isn't a thing for gecko yet).

You need to log in before you can comment on or make changes to this bug.