Re: [csswg-drafts] [css-selectors] nth-child produces a local variable

I think allowing [`counter()`](https://drafts.csswg.org/css-lists/#counter-functions) to return an integer would be a better way to address this kind of problems.

```css
.foobar {
  counter-reset: n;
}
.foobar > * {
  counter-increment: n;
  grid-row: counter(n integer);
}
```

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

Received on Saturday, 14 October 2017 17:27:50 UTC