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: Simon Sapin <simon.sapin@exyr.org>
Date: Wed, 23 Apr 2014 16:07:47 +0100
Message-ID: <5357D743.3070505@exyr.org>
To: fantasai <fantasai.lists@inkedblade.net>, www-style@w3.org
On 18/04/2014 18:02, fantasai wrote:
> 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?

What’s now in the ED works for me. Thanks!

Simon Sapin
Received on Wednesday, 23 April 2014 15:08:10 UTC

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