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

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