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

@mirisuzanne 

> 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.

Oh, interesting. Is there an explainer for this that demonstrates the visual effect of applying different `container-type` properties?

I don't know if this is useful, regarding applying `size` which effectively removes `style`, Less has a syntax for "adding properties" to existing values, as well as a keyword like `all` which applies all items from a possible list. The former (a CSS native way of adding to an inherited list value) may be out of scope for this feature, but the latter (a single keyword representing both) could be a possibility.

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


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

Received on Friday, 6 May 2022 16:44:41 UTC