W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: [css-grid] Percentage line in propdef table for grid-template-{columns,rows}

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 18 Apr 2014 10:02:17 -0700
Message-ID: <53515A99.1040302@inkedblade.net>
To: www-style@w3.org
On 01/17/2014 09:47 AM, Tab Atkins Jr. wrote:
>   On Fri, Jan 17, 2014 at 8:52 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
>> Hi,
>>
>> The property definition table for grid-template-columns and
>> grid-template-rows says "Percentages: n/a", even though the value can
>> contain <percentage>.
>>
>> I guess "Percentages: See prose" should work. The definition is complex
>> enough that it probably shouldn’t be duplicated.
>
> Good catch, thanks!

No, See prose isn't right. The definition is not that complex:
it's simply referencing the size of the content box. This is
no more complicated than how width/height refer to the size
of the containing block. That there is fallback behavior when
this is indefinite is a detail in the prose, but the propdef
table should say at a glance what we're referencing.

If it referenced different things depending on the value of
xyz and computation Q, then it would be too complicated for
the table. But since it only ever refers to one thing, and
just fails to behave as a percentage if we can't find that
thing, it goes in the table.

Unless I'm missing something here?

~fantasai
Received on Friday, 18 April 2014 17:02:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC