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 comment

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