- From: gitspeaks via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Dec 2024 16:10:09 +0000
- To: public-css-archive@w3.org
>There is no "case forming the basis of collapse-through". Yes, there is! You’re ignoring the fact that "collapse-through" is a defined term. Here, take a look: https://drafts.csswg.org/css2/#collapse-through (see the hashtag ?) >If the top and bottom margins of a box are adjoining, then it is possible for margins to **collapse through** It’s marked in **bold**—this is not just "generic language." The definition specifically relies on the case where the top and bottom margins of a box are adjoining. According to the definition of adjoining margins: >"Two margins are adjoining if and only if: " >top and bottom margins of a box that does not establish a new block formatting context and that has zero computed [min-height](https://drafts.csswg.org/css2/#propdef-min-height), zero or [auto](https://drafts.csswg.org/css2/#valdef-height-auto) computed [height](https://drafts.csswg.org/css2/#propdef-height), and no in-flow children Clearly, the **term collapse-through** is based on this specific box configuration. Now, this definition applies only to this scenario. If you want to use the term in a different context—like "a box’s margins **collapse through** another box’s margins"—you’d need to extend the definition to include that new scenario. Bringing up transitivity here is irrelevant to the discussion and does nothing to address the actual definition at hand. -- GitHub Notification of comment by gitspeaks Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11306#issuecomment-2514987536 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 3 December 2024 16:10:10 UTC