Re: [csswg-drafts] [cssom] Should getComputedStyle() support non-standard pseudo-elements? (#3980)

Thank you. So the rationale was "browsers seem to allow it".

The [wpt PR](https://github.com/web-platform-tests/wpt/pull/10422) for that change added a test for `getComputedStyle(div, "totallynotapseudo"),` but no other pseudo-elements (apart from before/after which were already tested).

https://github.com/web-platform-tests/wpt/pull/17008 tests non-standard pseudos for controls.

https://wpt.fyi/results/css/css-ui/control-internal-pseudo-elements-getComputedStyle-001.html?sha=c12c73e623 shows results for Firefox and Safari. Chrome results are missing for some reason, but it passes all the tests for me. Which is to say:

* Firefox supports `::-moz-*` pseudos in gCS.
* Chrome and Safari don't support any of the tested pseudos in gCS.

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

Received on Monday, 27 May 2019 19:08:40 UTC