W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

Re: [csswg-drafts] [selectors-4] :nth-child and friends are either underdefined or defined wrong

From: SelenIT via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Apr 2017 09:51:03 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-297325586-1493200261-sysbot+gh@w3.org>
Isn't the ['An + B' notation](https://drafts.csswg.org/css-syntax/#anb) described by reference to the CSS Syntax module for all these definitions?

> The An+B notation defines an integer step (A) and offset (B), and represents the An+Bth elements in a list, for every positive integer or zero value of n, with the first element in the list having index 1 (not 0).

The edge cases like A=0 are described in the next (though non-normative)[ section 6.1](https://drafts.csswg.org/css-syntax/#anb-syntax).

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1292#issuecomment-297325586 using your GitHub account
Received on Wednesday, 26 April 2017 09:51:13 UTC

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