- From: Brian Manthos <brianman@microsoft.com>
- Date: Fri, 19 Aug 2011 19:44:20 +0000
- To: Tab Atkins Jr. <jackalmage@gmail.com>
- CC: "www-style@w3.org" <www-style@w3.org>
#3.At "/": # check: right side is "number" # return: the type of the left side This seems arbitrary to me. Why should "calc(5px * (8px / 4px))" get rejected at parse time rather than evaluate to 10px? -----Original Message----- From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] Sent: Friday, August 19, 2011 12:37 PM To: Brian Manthos Cc: www-style@w3.org Subject: Re: [CSS3 Values] referencing width or height explicitly On Fri, Aug 19, 2011 at 12:33 PM, Brian Manthos <brianman@microsoft.com> wrote: > # <number-multiplicative-expression> := > # <number-term> | > # <length-multiplicative-expression> '/' <length-term> | > # <length-multiplicative-expression> 'mod' <length-term> > > <length-term> can't have units? TR strikes again! Check the spec that's been updated sometime in the past 5 years: http://dev.w3.org/csswg/css3-values/#calc ~TJ
Received on Friday, 19 August 2011 19:44:48 UTC