web-platform-tests / interop

web-platform-tests Interop project
https://wpt.fyi/interop
318 stars 27 forks source link

`appearance` #884

Open pxlcoder opened 1 month ago

pxlcoder commented 1 month ago

Description

CSS UI 4 defines a set of properties that disable native appearance. This behavior is currently tested via WPTs in css/css-ui/compute-kind-widget-generated [1].

Currently browsers are not consistent about disabling native appearance when these properties are set, or incorrectly modify the computed style of an element that retains native appearance [2].

[1] https://wpt.fyi/results/css/css-ui/compute-kind-widget-generated?label=experimental&label=master&aligned [2] https://github.com/w3c/csswg-drafts/issues/9919

Specification

https://drafts.csswg.org/css-ui-4/#appearance-disabling-properties

Additional Signals

No response

jensimmons commented 1 month ago

Is this about trying to get interoperability for appearance: none?

zcorpan commented 1 month ago

I believe it's about the "act like appearance: none when there's an author property set for these properties"

zcorpan commented 1 month ago

This was proposed in the Form Controls focus area for Interop 2022 (see https://github.com/web-platform-tests/interop/issues/11), but the kind-of-widget* tests weren't included then. (Maybe the tests landed in wpt too late, I'm not sure.)