Re: [csswg-drafts] [css-grid] Decorative grid-cell pseudo-elements (#499)

@fantasai 
> `::grid-area()` arguments can also use nth-child syntax in place of `<integer>`.

So each `n` in `::grid-area(n/n/n/n)` is an independently resolved variable?
So for example `n span n` expands to `-∞ span 1`, `-∞ span 2` ... `-∞ span ∞`,  `-∞+1 span 1`, `-∞+1 span 2` ... `-∞+1 span ∞`,  ... ,  `1 span 1`, `1 span 2`, `1 span 3` ... `2 span 1`, `2 span 2`, `2 span 3` ... `∞ span 1`, `∞ span 2`, `∞ span ∞`?
We probably want some clamping/limits on this to avoid creating O(n^4) pseudos... ;-)


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 1 November 2021 00:08:30 UTC