W3C home > Mailing lists > Public > www-style@w3.org > January 2013

[css3-grid-layout] <track-breadth> shouldn't allow negative values

From: Julien Chaffraix <julien.chaffraix@gmail.com>
Date: Wed, 16 Jan 2013 14:32:07 -0800
Message-ID: <CAGY_oHL68mqKwpBL0r7ye31KZPSGZzqRSZZ3xvN4OBAKB8FCgg@mail.gmail.com>
To: www-style@w3.org
Hi everyone,

in the current specification:

<track-breadth> => <length> | <percentage> | <fraction> | min-content
| max-content

As <length> and <percentage> can be any <number>, this means that the
<track-breadth> and by extension grid-row-definition and
grid-column-definition can be negative.

Talking this trough, we couldn't find a useful use case for allowing
negative grid-*-definition and thus would recommend disallowing this
by adding the following to the specification:

Negative values for <track-breadth> are illegal.

Any thoughts on this?

Thanks,
Julien
Received on Wednesday, 16 January 2013 22:32:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT