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

Re: [csswg-drafts] [css-selectors] Nearest descendant selector (#4940)

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 Nov 2020 19:30:31 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-724918160-1605036630-sysbot+gh@w3.org>
> Isn't `.wrapper /3/ .child` basically the same as `.wrapper > * > * > .child`?

Yes, though the deeper the child is placed the longer is the chain of `> *`, which quickly becomes unreadable.

Sebastian

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 10 November 2020 19:30:32 UTC

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