Re: [csswg-drafts] [css-grid] Limiting large grids (#8316)

> Does a UA's limit imply the same number of lines in the positive and negative directions? The text includes "the range [-10000, 10000]", but the example provides a single number. If a UA supported grids with at most 250 lines in each dimension, in the following example, which items would be clamped, and where would they be placed?

Exactly what the limit is is UA-defined; the spec just requires a minimum range. A UA _could_ use the range [-10000,43500], for example.

For a given maximum track count, the clamping and placement is well-defined by the spec.

> It is inconsistent for the text to talk about limiting the number of lines and then the example using a limit to the number of tracks. (It is simple to convert from one to the other, but why should that be necessary for the example?)

It's purely a matter of which is more convenient to talk about. In this case, talking about tracks allows us to use rounder numbers in the example, which is nicer to read. ^_^

> "which should accommodate lines at in the range [-10000, 10000]" should lose "at".

Good catch, fixed that now.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 19 January 2023 21:55:39 UTC