Re: [csswg-drafts] [css-contain-3] Revisit decision to make `style` the default `container-type` (#7066)

@matthew-dean I strongly agree that it will become best-practice to add `style` container-type globally (tho the current spec does that by default). However, authors will need to be much more careful about applying `size` containers, because the added size containment removes all intrinsic sizing of children from the container's intrinsic size. Every element would layout as though empty if you applied that globally. Since a lot of CSS layout relies on containers using the intrinsic sizing of their child elements, that's a pretty dangerous tradeoff that authors will need to consider case-by-case.

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


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

Received on Thursday, 5 May 2022 22:01:01 UTC