Skip to content

[css-grid] Percentages of indefinite sizes in grid gaps #345

Closed
@svillar

Description

@svillar

Hi,

back in March there was a thread on www-style about adding percentages to grid gaps (see https://lists.w3.org/Archives/Public/www-style/2016Mar/0385.html). I am not convinced at all that such a feature is needed, and I'd like to see real use cases (I guess that's why is at risk).

Anyway I think the percentage resolution for grid gaps is not properly specified whenever we have indefinite sizes. For in flow blocks we resolve that to 'auto' but that does not make sense for grid gaps. What should we do in those cases? (Note that we could do a 2nd pass to resolve the percentages but that's a pretty bad idea IMO).

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions