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

Re: [csswg-drafts] [selectors] some inconsistent concepts and descriptions

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Wed, 03 Jan 2018 21:50:00 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-355137356-1515016199-sysbot+gh@w3.org>
Yeah, whether you write complex-selector in terms of relative-selectors, or vice versa, is an arbitrary choice. Because complex selectors are a more fundamental concept, I chose to base relative-selector off of complex-selector - in the spec, we don't talk about complex selectors as being built out of relative selectors, a relative selector is just a special type of complex selector that starts with a combinator.

---

Your edits otherwise look fine, @fantasai. None of them were *necessary* - the additional conditions at the end covered things just fine - but moving them into the grammar works just as well.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/386#issuecomment-355137356 using your GitHub account
Received on Wednesday, 3 January 2018 21:50:03 UTC

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