W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

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

From: Robert Flack via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Mar 2020 12:22:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-597602119-1583929375-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC