Bug 143842 - Implement appearance property
Summary: Implement appearance property
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 217522
  Show dependency treegraph
 
Reported: 2015-04-16 13:52 PDT by Dean Jackson
Modified: 2021-10-20 14:18 PDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Jackson 2015-04-16 13:52:57 PDT
http://dev.w3.org/csswg/css-ui-4/#appearance-switching

We should support at least appearance auto and none, which are aliases that override -webkit-appearance.
Comment 1 Radar WebKit Bug Importer 2015-04-16 13:53:24 PDT
<rdar://problem/20576252>
Comment 2 Radar WebKit Bug Importer 2015-04-16 13:53:51 PDT
<rdar://problem/20576256>
Comment 3 Kent Tamura 2020-03-05 15:31:44 PST
FYI: Chrome is going to ship 'appearance' property soon.
https://t.co/osaFPo0Obe
Comment 4 Simon Pieters (:zcorpan) 2020-05-08 03:02:47 PDT
FYI https://bugs.chromium.org/p/chromium/issues/detail?id=963551 is now fixed and looks like it's targeting M84 (reaching stable mid-July per https://www.chromestatus.com/features/schedule )

I think trying to coordinate on the timing on this can reduce compat problems, and allow for clearer messaging to web developers to start using unprefixed appearance.

Issue for Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=1620467
Comment 5 Cameron McCormack (:heycam) 2020-07-20 15:58:43 PDT
(In reply to Simon Pieters from comment #4)
> Issue for Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=1620467

FYI this landed last week, and so will make it to release for Firefox 80.
Comment 6 Sam Sneddon [:gsnedders] 2021-08-13 10:29:21 PDT
> We should support at least appearance auto and none, which are aliases that override -webkit-appearance.

We already support none; we should however probably add support (to -webkit-appearance) for auto as this is the one value we don't already support.

IIRC, this probably means moving the current -webkit-appearance into an internal property (which defines which appearance is _actually_ used, including which widget) and then we can start iterating from there.
Comment 7 Simon Pieters (:zcorpan) 2021-09-10 05:42:12 PDT
The spec is getting close to done now, and wpt tests exist.

Spec change:
https://github.com/whatwg/html/pull/7004
https://github.com/w3c/csswg-drafts/pull/6537

Tests:
https://github.com/web-platform-tests/wpt/pull/18591
https://github.com/web-platform-tests/wpt/pull/30267
+ various tests in https://wpt.live/css/css-ui/
Comment 8 Simon Pieters (:zcorpan) 2021-09-30 14:29:18 PDT
`<progress>` and `<meter>` might be changed in the spec, see https://github.com/w3c/csswg-drafts/pull/6537#issuecomment-931716364
Comment 9 Aditya Keerthi 2021-10-20 14:18:23 PDT
'-webkit-appearance` was unprefixed in https://bugs.webkit.org/show_bug.cgi?id=231534.