- From: Sylvain Galineau <sylvaing@microsoft.com>
- Date: Tue, 27 Jul 2010 03:54:01 +0000
- To: "L. David Baron" <dbaron@dbaron.org>, "www-style@w3.org" <www-style@w3.org>
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On > Therefore, I propose that: > > 1. We drop the 'mod' operator since it only makes sense when > both operands have the same units. > > 2. The right operand to the '/' operator be required to be unitless > (that is, a number or an expression composed of numbers). > > 3. Division by zero be a parse error (as I think it was in earlier > drafts of the specification, perhaps?). > > 4. Leaf values inside a calc() expression must all be either (a) > numbers or (b) legal values for the property, or things that > would be legal values if it weren't for range restrictions (such > as the restriction that 'width' accepts only positive values). This seems very reasonable. I'm in support as well.
Received on Tuesday, 27 July 2010 03:54:35 UTC