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

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