Re: [csswg-drafts] [css-grid] Re "Clamping Overly Large Grids": Perhaps have a minimal required track count

Yep, one million columns times one million rows equals one trillion cells. Even if just one byte would be used in memory for each cell that would mean one Terabyte in memory.

I guess that the minimal required track count needs to be lower.

Also, I think that the total amount of cells needs to get specd, instead of the total amount of tracks, because the result of columns × rows is what taxes memory. So if the spec would say "the limit should allow for at least one billion cells" the largest grids that don't violate the lowest limit could be eg 10 × 100000000 or eg 10000 x 100000 eg 1 x 1000000000, but eg 1000000000 x 1000000000 would be over that limit.

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

Received on Wednesday, 7 February 2018 17:07:50 UTC