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

Re: [css-grid] resolved value of grid-template-rows / grid-template-columns, in "display:none" subtree?

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 18 Apr 2014 08:57:07 -0700
Message-ID: <53514B53.8040607@inkedblade.net>
To: www-style@w3.org
On 02/25/2014 04:19 PM, Daniel Holbert wrote:
> Hi www-style,
>
> The http://dev.w3.org/csswg/css-grid/#resolved-track-list currently says:
>
>   # The resolved value of the grid-template-rows
>   # and grid-template-columns properties is the
>   # used value, serialized as follows:
>   # [...]
>   #  * Every track size given as a length in
>   # pixels, regardless of sizing function.
>
> This doesn't account for the possibility that we might be in a
> "display:none" subtree, however (which would mean we wouldn't have
> layout information, and wouldn't be able to convert arbitrary sizing
> functions into pixels).

Wouldn't we also have a problem if the element in question
was not a grid? Should it also be the computed value then?

P.S. I've updated the spec to say this.

~fantasai
Received on Friday, 18 April 2014 15:57:37 UTC

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