Re: [csswg-drafts] [css-ui] Disallow internal pseudo-elements and 'appearance' values (#3968)

> ```css
> ::-webkit-progress-bar { z-index: 1 }
> ```
> ```js
> assert_not_equals(getComputedStyle(elm, pe).zIndex, '1', elm.outerHTML);
> ```
> https://github.com/web-platform-tests/wpt/pull/17008/commits/c12c73e6235e994b08216721f43e80c318a2efd0

Wait, what? You are requiring getComputedStyle to not work on absolutely no property on pseudo-elements? This is wild, and absolutely not something that seems up for discussion or suggested by anyone as far as I'm concerned.

The only changed required is that the appearance property on those pseudos must return a value that is supported by the property, and that is absolutely logical and shouldn't require any specific text except maybe a note; browser who support special values internally can convert those values to 'auto' if those pseudos currently have a proprietary value today (either for real, or just for gCS purposes). 

But in the test you verify that zIndex lies to author about having a value it actually has, this is significantly way beyond the scope of speccing the appearance property.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/3968#issuecomment-496033399 using your GitHub account

Received on Sunday, 26 May 2019 21:36:37 UTC