W3C home > Mailing lists > Public > www-archive@w3.org > March 2018

Re: Fwd: [css-grid] question on clamping grid items to fixed track size

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 26 Mar 2018 12:50:30 -0700
To: "www-archive@w3.org" <www-archive@w3.org>
Message-ID: <f1bef282-05b4-29f2-cdc2-f987552d8b7e@inkedblade.net>
-------- Forwarded Message --------
Date: Mon, 12 Feb 2018 16:20:27 -0800
From: fantasai
To: Mats Palmgren

On 02/12/2018 04:14 PM, Mats Palmgren wrote:
 > On 2/12/18 10:09 PM, fantasai wrote:
 >  > No, you're correct. The clamping only applies to the AMS. But it applies
 >  > to the AMS no matter what constraint the grid is being sized as. Is that
 >  > making sense now?
 > But that means that the issue Rego reported in
 > https://bugzilla.mozilla.org/show_bug.cgi?id=1427608
 > is NOT a bug and that the rendering of his testcase in Nightly
 > is the correct one.

Sorry, I got confused about your question; missed the part about the grid item.

 > As I understand it, the grid item width, column size, and grid container
 > width should all be zero in this case.  Is this correct?

Afaict, under the current spec, the column size and grid container
width will be zero, but the grid item will be width: 20px, since
there is nothing that would reduce its size. (The only thing that
would reduce its size from the specified 20px would be a max-width.)
(It's AMS would be zero, but the specified width is greater than zero
so it uses its specified width.)

Received on Monday, 26 March 2018 19:51:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:35:51 UTC