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

We were discussing this in the context of #4745. It seems really unfortunate that we have divergent parsing behavior between this and querySelector. I wonder what the usage of getComputedStyle with an unsupported pseudo-element-selector is; maybe we could throw errors consistent with [selectors-4](https://drafts.csswg.org/selectors-4/#invalid-selector) parsing?

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

Received on Wednesday, 11 March 2020 12:23:00 UTC