W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

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

From: Tobi Reif via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Feb 2018 17:07:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-363839092-1518023268-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC