Re: [csswg-drafts] [css-backgrounds-4][css-grid] Allow transitions between different types within `stripes()` (#8622)

> I suppose I could reuse the machinery that %s do

That's precisely what I was thinking: in `<length-percentage>`, the percentage resolves to a length, so they can be mixed in `calc()`. That's not the case in `<length> | <percentage>`.

So we could have `<length-percentage-flex>` where both percentages and flex resolve to lengths and can be mixed in `calc()`, and `<length-percentage> | <flex>` where they can't be mixed.

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


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

Received on Sunday, 26 March 2023 17:31:12 UTC