Re: [csswg-drafts] [css-ui] Unprefix 'appearance' and/or make the spec web-compatible (#3024)

I added more counters to Google Chrome, and here is the current summary:

Summary:

- ```button``` can not be an alias of ```auto``` at this moment. 
- We can restrict ```button``` to ```<button>```, ```<input type=button/reset/submit>```, and ```<a>```.
- If ```textfield``` is not an alias of ```auto```, ```menulist-button``` and ```searchfield-cancel-button``` should not be too.
- We can restrict ```textfield``` to text-field-like ```<input>``` including type=search.
- We can not restrict ```menulist-button``` and ```searchfield-cancel-button``` to specific elements.  We don't have data.
- ```sliderthumb-vertical``` and ```slider-vertical``` can't be aliases of ```auto```, and we should make a conclusion of https://github.com/whatwg/html/issues/4177.
- Other keywords can be aliases of ```auto```.

Data:

(Following counter values are page view ratio in which an element with the keyword is painted)
A) Usage is not low. 
```button``` for input[type=button/reset/submit]: 0.34% https://www.chromestatus.com/metrics/feature/timeline/popularity/1472
Input buttons have ```-webkit-appearance:push-button``` by default.

B) Usage is low.  Changing their behavior would have some risks.  However probably it's doable.
```button``` for anchors: 0.013%
https://www.chromestatus.com/metrics/feature/timeline/popularity/1470 
```menulist-button``` for others: 0.016%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2583
```searchfield-cancel-button``` for others: 0.017% https://www.chromestatus.com/metrics/feature/timeline/popularity/2579
```textfield``` for input[type=search]: 0.015%
https://www.chromestatus.com/metrics/feature/timeline/popularity/1474

C) Usage is very low.  However they are necessary for vertical input[type=range] in WebKit and Blink.  See https://github.com/whatwg/html/issues/4177
```sliderthumb-vertical``` for input[type=range]: 0.001%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2574
```slider-vertical``` for input[type=range]: 0.0009%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2570

D) Usage is very low.
```button``` for others (exclude anchors and input[type=button/reset/submit]): 0.005%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2775
```checkbox``` for others: 0.0015%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2560
```inner-spin-button``` for others: 0.000003%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2564
```menulist``` for others: 0.0024%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2566
```progress-bar``` for others: 0.00004%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2817
```push-button``` for others: 0.0003%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2585
```radio``` for others: 0.0002%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2562
```search-field``` for others: 0.0008%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2577
```slider-horizontal``` for others: 0.000006%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2569
```sliderthumb-horizontal``` for others: 0.000001%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2573
```sliderthumb-vertical``` for others:  0.000002%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2575
```slider-vertical``` for others: 0.0006%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2571
```square-button``` for others: 0.0012%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2587
```textarea``` for others: 0.0023%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2581
```textfield``` for others: 0.0008%
https://www.chromestatus.com/metrics/feature/timeline/popularity/2822


-- 
GitHub Notification of comment by tkent-google
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3024#issuecomment-493818911 using your GitHub account

Received on Monday, 20 May 2019 02:25:54 UTC