W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [css-nesting] request to pick up the css-nesting proposal

From: Tommy Hodgins via GitHub <sysbot+gh@w3.org>
Date: Mon, 09 Jul 2018 17:59:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-403566804-1531159140-sysbot+gh@w3.org>
> That's cool and all but we want a parent selector.

This might be off-topic for this issue about selector nesting.

Could your desired selector `.child < div` be expressed as `div:has(.child)` according to how [`:has()` is being specced](https://drafts.csswg.org/selectors-4/#relational)? If what you want it isn't yet covered by what `:has()` is specced to do, it would probably be better to open a new issue to discuss this than to comment in this closed issue :)

-- 
GitHub Notification of comment by tomhodgins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2701#issuecomment-403566804 using your GitHub account
Received on Monday, 9 July 2018 17:59:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 08:16:45 UTC