Re: [csswg-drafts] [css-grid-1] Clarify the reason of limit the rows/cols at grid, and increase it

> with grid we can make masonry/pinterest style layout simply and 
elegantly by 1px steps.

Using a many thousands of grid rows of 1px size to do this layout 
isn't elegant, it's an ugly hack.

The Grid spec already motivates why a limit is needed: "Since memory 
is limited", and I'd like to add "and since CPU resources are 
limited".  Using millions of grid cells requires large amounts of 
memory and processing which creates unacceptable latency on slow 
devices.

I agree that the masonry use case is important though, but let's fix 
that in https://github.com/w3c/csswg-drafts/issues/945 in a sane way 
instead.

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

Received on Tuesday, 7 February 2017 00:43:32 UTC