Re: [csswg-drafts] Make it easier to express ranges for <An+B> selectors (#4140)

But as you said, one of the non-trivial aspects of `An+B` is that `n` takes non-negative values, and somebody may want to change this range, e.g. start at 1 instead of 0. You cannot do this with `1 <= An+B`, but you could with `An+B, 1 <= n`.

> `n <= C` actually means `n <= A*C+B`

No, `n <= C` means `n <= C`. But you are not selecting the `n`-th element, you are selecting the `An+B` one.

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

Received on Wednesday, 31 July 2019 23:02:22 UTC