Re: [csswg-drafts] [css-images] Avoid 0/0 division in stripes() (#9666)

Let's say the total width is 100px, and there are two stripes, `0fr 0fr`.
We take the 100px, no need to subtract anything, and then multiply by 0. So we are distributing 0px.
But we still need to do the actual distribution among the stripes. How much does each stripe get? It's "a fraction [...] relative to the total sum of `<flex>` entries in the function", so `0 / (0 + 0) * 0px` each one.
That has a 0/0 division.

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


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

Received on Thursday, 7 December 2023 10:48:31 UTC