Re: [css-snappoints] repeat(calc(<value>)) clamping behaviour

On Mon, Oct 19, 2015 at 12:25 PM, fantasai
<fantasai.lists@inkedblade.net> wrote:
> On 07/06/2015 05:03 PM, Tab Atkins Jr. wrote:
>> (Now that you mention it, *every* usage of "positive (or non-negative)
>> length or you're invalid" in CSS has to be handled, actually.  With
>> calc(), you can't always tell that it's non-negative until layout
>> time, so you can't just assume that every value that survives is
>> definitely non-negative.)
>
> Yeah, we specify that here:
>   http://www.w3.org/TR/css-values-3/#calc-range

Ah, I'd forgotten about that.  Good catch.

~TJ

Received on Monday, 19 October 2015 22:22:06 UTC