wpt icon indicating copy to clipboard operation
wpt copied to clipboard

Some css-ui tests incorrectly assume that <input type="search"> looks like <input type="text"> with auto appearance

Open nt1m opened this issue 3 years ago • 1 comments

@pxlcoder and I were looking into those in the context of Interop 2022:

  • css/css-ui/compute-kind-widget-no-fallback-props-001.html
  • css/css-ui/compute-kind-widget-fallback-props-revert-001.html

nt1m avatar Aug 04 '22 02:08 nt1m

Hit enter too early... oops.

These tests (and potentially more), assume that <input type="search"> and <input type="text"> look the same with appearance: auto (default). This is the case in Chrome & Firefox, but not Safari.

This is an <input type="search">:

image

This is an <input type="text">:

image

While I agree we should aim appearance: textfield to make both look the same, I do not agree that the default styles should look the same.

@zcorpan What do you think?

nt1m avatar Aug 04 '22 03:08 nt1m

Yeah this was a test bug. Thanks for fixing!

zcorpan avatar Aug 11 '22 07:08 zcorpan