Re: [csswg-drafts] [css-contain][css-grid] contain:size for grid containers is underspecified (#3892)

> Size containment needs more details to be implementable for Grid containers. Specifically, is grid item placement considered part of "sizing"?
> The grid spec has Placement as a separate step before Grid Sizing, which seems to imply that placement should be done as usual.

Can you elaborate on what you think isn't covered by size containment? The definition of it is exactly two things:

> 1. When calculating the size of the containing element, it must be treated as having no contents.
> 2. Elements with size containment are monolithic.

This seems pretty clear - you size the grid container as if it's empty. By definition, then, placement doesn't take place beforehand, because there's nothing to place.

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

Received on Tuesday, 7 May 2019 18:29:54 UTC