Re: [csswg-drafts] [css-contain] Do scoped counters create new counters?

OK, since `content` is scoped, I think the output is just `2`.

But note that CSS Lists will allow [`counters()`](https://drafts.csswg.org/css-lists/#counter-functions) anywhere that accepts a `<string>`, so what about `background: url( counters(n, '.') )`? Is the background image retrieved from `1.2` or just `2`?

Maybe you should scope `counters()` itself.

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

Received on Tuesday, 17 October 2017 15:01:14 UTC