Re: [csswg-drafts] [css-values] [css-fonts-4] Native map() function in CSS

Nah, fallback in divide-by-zero doesn't work well; it means we're 
dealing with an open range, which CSS correctly avoids in designing 
things. Switching to a fallback means that whatever the behavior was 
as it got *really close* to zero, it'll suddenly ignore and switch to 
your fallback, which isn't guaranteed to do the same thing.

Handling divide-by-zero properly means letting calc() handle 
infinities (via standard float rules), and defining what happens when 
they escape the calc() (probably just "largest value the 
implementation can support for that property").

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

Received on Friday, 21 October 2016 21:51:07 UTC