CSS Grid Layout Module Level 1

https://www.w3.org/TR/css-grid-1/#auto-repeat

Can’t defend why I find this cool, but I do:

«For the purpose of finding the number of auto-repeated tracks, the UA must floor the track size to a UA-specified value to avoid division by zero. It is suggested that this floor be 1px.»

“We’re just writing a spec here, but we think implementors, like we are in our day jobs, would like this hint. But y’all can do what you want. Who knows? Maybe you’ll find a better algorithm! Also, we’re thinking about implementation as we write the spec.”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.