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

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