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

[css-grid] Should resolved value of grid-auto-rows / grid-auto-columns be in pixels?

From: Daniel Holbert <dholbert@mozilla.com>
Date: Wed, 05 Mar 2014 17:27:21 -0800
Message-ID: <5317CEF9.6080609@mozilla.com>
To: www-style <www-style@w3.org>
Hi www-style,

FACTS:
 a) The properties "grid-auto-columns" and "grid-auto-rows" take
<track-size> [1].

 b) The properties "grid-template-columns" and grid-template-rows *also*
take <track-size> [2] (in a more complicated syntax).

 c) The resolved value of grid-template-columns/rows must have the
<track-size> converted to pixels. [3]

...BUT...

 (d) There is no equivalent requirement for grid-auto-columns/rows.

Should we require grid-auto-columns/rows to return their resolved value
in pixels, too? (so that <track-size> has consistent behavior across
properties)

Thanks,
~Daniel

[1] http://dev.w3.org/csswg/css-grid/#propdef-grid-auto-columns
[2] http://dev.w3.org/csswg/css-grid/#propdef-grid-template-columns
[3] http://dev.w3.org/csswg/css-grid/#resolved-track-list
Received on Thursday, 6 March 2014 01:27:48 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 6 March 2014 01:27:49 UTC