W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

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

From: David Baron via GitHub <sysbot+gh@w3.org>
Date: Wed, 31 Aug 2016 23:29:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-243933445-1472686190-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC