Re: [csswg-drafts] [css2][css-flow][css-sizing] How do min/max block sizes affect bottom margin collapse with last child? (#12218)

> TabAtkins: Ian's brought up calc-size() a few times. I want to make sure calc-size( auto, 20px) is not meaningfully different from 20px

I disagree with this. `calc-size(auto, 20px)` has an `auto` basis, so it should behave as close as possible to `auto`.

That is, if `auto` results in a size of 20px, then `auto`, `calc-size(auto, size)` and `calc-size(auto, 20px)` should be identical. `20px` may be different if necessary.

> iank_: we take the initial block size, and see if that's definite or not. that's subtlety different from checking the keywords

In Servo we check if the containing block that the element establishes for its contents has a define block size. I guess it's the same.

> fantasai: this behavior is weird because you collapse at only one single point

I agree that it would be quite weird for animations.

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


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

Received on Wednesday, 24 September 2025 18:39:31 UTC