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

I would rather rely on transitivity rather doing trying a more manual definition.

Your manual definition in (b) enforces "another element" and thus prevents the margins of a parent from collapsing through a child.

But anyways, I think you aren't focusing on the relevant thing. Typically, when you have a pair of margins, what you care is whether they collapse, not whether they collapse through some indeterminate element. It's when you have a specific element when you care whether surrounding indeterminate margins can collapse through this element.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11306#issuecomment-2511470510 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 12:56:30 UTC