Re: [csswg-drafts] [css-grid] making percentage grid-gaps zero for the purpose of intrinsic sizing doesn't make sense

> So you're saying you want to back-compute
> percentages for grid-gap, but not for track sizes? 

Yes.

> In both axes or just one?

Both.

> I am somewhat interested in having grid-gaps work identically to
> similarly-sized empty tracks, for simplicity.

Sure, I can understand that, but what I suggest is a small amendment
that would be a major benefit for authors.  And it makes percentages
here more consistent with how they work in general.

Note that I'm not suggesting making any changes to the track sizing
algorithm.  It's a fairly simple additional step after that.
(maybe at the end of ยง5.2. "Sizing Grid Containers"?)

> I'm also open to other ideas.

It might be possible to improve percentage min track sizing too.
One idea is that we could also check that each track with a percentage
min sizing that its current size (from 'auto') is at least the size
it would have using the intrinsic size as the percentage basis.
If not, increase the intrinsic size so that each minimum will be met.
(This is just a heuristic nudge though, I'm not suggesting we should
re-run the track sizing algorithm again after that.)

> Can you post some
> kind of position statement from your/Mozilla's
> perspective into #347 and we can go from there?

I'll discuss this with @dbaron et al.


-- 
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/472#issuecomment-247694824 
using your GitHub account

Received on Friday, 16 September 2016 20:02:01 UTC