W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: [css3-2d-transforms][css3-images] <position> grammar is duplicated or points to the wrong spec

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 24 Jan 2012 18:35:49 -0800
Message-ID: <CAAWBYDD-8Xc2ELP+xKrxFVNK=TT6pUZG5sHSfLvzUyQxOpNzaA@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
On Tue, Jan 24, 2012 at 5:30 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 01/24/2012 07:44 AM, Tab Atkins Jr. wrote:
>> "A math expression has a resolved type, which is one of ‘<length>’,
>> ‘<frequency>’, ‘<angle>’, ‘<time>’, or ‘<number>’. [...] If
>> percentages are accepted in the context in which the expression is
>> placed, a PERCENTAGE token has the type of the value that percentages
>> are relative to; otherwise, a math expression containing percentages
>> is invalid."
> The resolved type is only used to determine the validity of calc().
> It has nothing to do with how calc() is turned into a computed value.

If that's the case, then the spec is currently underdefining what is
actually returned.  In either case, Gecko's specific treatment of
%age+length in background-position is not defined in any way by
anything, and needs to be.

Received on Wednesday, 25 January 2012 02:36:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:10 UTC