- From: Jonathan Neal via GitHub <sysbot+gh@w3.org>
- Date: Wed, 23 May 2018 04:46:53 +0000
- To: public-css-archive@w3.org
If, like me, you had trouble following how `:matches` should work in this thread, consider the following CSS: ```css head ~ :matches(html > *) {} ``` If I understand correctly, that selector **should** match `body`, and it **should not** be equivalent to the following expansion: ```css head ~ html > * { /* nonsense */ } ``` Chrome (and postcss-selector-matches) have incorrectly interpreted `:matches` to follow the later behavior. --- Anyway, this is just here to save people like me an hour or so of processing time. And if I misunderstood, please correct me. -- GitHub Notification of comment by jonathantneal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1027#issuecomment-391218876 using your GitHub account
Received on Wednesday, 23 May 2018 04:47:01 UTC