Re: [csswg-drafts] [CSS2] Clarify margin collapsing behavior (#11306)

Aha, thanks!

>'The top and bottom margins of a single box should never have been allowed to collapse together automatically as this is the root of all margin-collapsing evil.'

Now that we’re discussing the 'root of all margin-collapsing evil,' can you help me understand this statement:

> 'If the top and bottom margins of a box are adjoining, then it is possible for margins to collapse through it.'

Does this refer to a scenario where:

- Box B’s top margin is adjoining Box A’s bottom margin, and
- Box B’s bottom margin is adjoining Box C’s top margin, and
- Box B’s top and bottom margins collapse through it, meaning they combine into a single margin?

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


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

Received on Monday, 2 December 2024 09:25:37 UTC