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

zcorpan has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] Should getComputedStyle() support non-standard pseudo-elements? ==
https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle

See https://github.com/w3c/csswg-drafts/pull/3968#issuecomment-496033399

Why does `getComputedStyle()` support any pseudo-element? Previously it only supported `::before` and `::after`.

This is an issue for `appearance` because UAs can support non-standard values for non-standard pseudo-elements. (Though css-ui could require `auto` to be used instead.)

Do we want such pseudo-elements to be available in author CSS? Do we want to support them in `getComputedStyle()`?

cc @frivoal @fantasai @FremyCompany 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3980 using your GitHub account

Received on Monday, 27 May 2019 12:29:29 UTC