W3C home > Mailing lists > Public > www-style@w3.org > December 2015

Re: [css-values] Adding a <length-percentage> production

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 10 Dec 2015 15:31:53 -0800
Message-ID: <CAAWBYDBuVSXtHXgz-EKGvfN+wBpN3xipouVMDXFHV404hEFiQQ@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style list <www-style@w3.org>
On Thu, Dec 10, 2015 at 3:29 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 12/10/2015 03:30 PM, Tab Atkins Jr. wrote:
>>> <length-percentage> makes sense to me. What are the others you need
>>> to add?
>>
>> Just the other things that can be combined with % in calc() -
>> <time-percentage>, etc.  I don't think they're used anywhere in CSS,
>> but there's no reason to exclude their use in Houdini.
>
> I'd prefer not to add something we don't need. These other things
> don't seem particularly useful.

Again, I'm not willing to make judgements about what people might want
to do in the Houdini APIs.  The point is that we *allow* calc(1s +
10%) in the calc() section (even tho it's not valid in any existing
CSS property), so we should allow that to be specified in a custom
property's grammar.

~TJ
Received on Thursday, 10 December 2015 23:32:41 UTC

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