Re: [csswg-drafts] [css-values] Computed value of a negative calc unit in that doesn't allow negative lengths.

For properties where the computed value is a length (i.e., calc()s are
 computed at computed value time) like <code>font-size</code>, we 
clamp to nonnegative values at computed value time.  For properties 
where the calc() expression is part of the computed value space (like 
<code>font-size</code>) we have clamping at used value time (both in 
the GetComputedStyle code and in the code that actually uses the 
value).

I think the spec is still wrong for properties that accept calc() but 
where calc() is not part of the computed value space since it can be 
fully computed by computed value time (e.g., <code>font-size</code>).

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

Received on Wednesday, 31 August 2016 23:30:05 UTC