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

OK I have now looked for `searchfield-cancel-button`. HTTP Archive has ~4.9m pages.

506 pages have `-webkit-appearance: searchfield-cancel-button`.

Of these, 505 use a selector with `::-webkit-search-cancel-button` (the pseudo-element where this value is set in the UA stylesheet in chromium and webkit). (I don't know why they include this at all. Maybe to override other CSS that sets appearance to `none`?)

The last 1 was

page | match
-- | -- 
http://www.playmemoriesonline.com/ | `}\n\ninput::-webkit-clear-button {\n -webkit-appearance: searchfield-cancel-button `

...which seems to be a misspelling of "webkit-search-cancel-button"

So this value does not need to apply to anything apart from the pseudo-element. Furthermore, since `::-webkit-search-cancel-button` is not a standardized pseudo-element, it seems weird to standardize a value for 'appearance' for this pseudo-element. I suggest we keep this value out of the spec, for now.

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

Received on Monday, 20 May 2019 15:49:21 UTC