W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

[csswg-drafts] [css-ui] 'auto' as the initial value for the 'appearance' property isn't web-compatible

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Wed, 19 Apr 2017 23:10:12 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-222898693-1492643411-sysbot+gh@w3.org>
MatsPalmgren has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ui] 'auto' as the initial value for the 'appearance' property isn't web-compatible ==
https://drafts.csswg.org/css-ui-4/#appearance-switching
> Value: 	auto | none 

For this [testcase](https://bug1357655.bmoattachments.org/attachment.cgi?id=8859626), the output in  the Console in Chrome, Safari and Edge is:
> div: none
> select with -webkit-appearance:inherit: none
> button: button
> button w. -webkit-appearance:initial: none

I think that makes it clear that the initial value for `-webkit-appearance` is `none` in those UAs.  I believe the initial value for `appearance` must be the same.

After implementing `appearance` according to spec  in Gecko (with `auto` as the initial value and  `-webkit-appearance` as an alias) we [found](https://bugzilla.mozilla.org/show_bug.cgi?id=1357655) that this isn't web-compatible.

We will now try with `none` as the initial value instead, and override that with `appearance:auto` in the UA sheet for elements that have a native theme in Gecko, `<button> <select>` etc.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1250 using your GitHub account
Received on Wednesday, 19 April 2017 23:10:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC