- From: Psychpsyo (Cameron) via GitHub <noreply@w3.org>
- Date: Sat, 21 Mar 2026 10:15:42 +0000
- To: public-css-archive@w3.org
Psychpsyo has just submitted a new pull request for https://github.com/w3c/csswg-drafts: == [css2] Fix wording for magins collapsing == This matches the notes below that section and also matches implementations. Consider: ```html <!DOCTYPE html> Foo <p><span style="display: block; margin-block: 1em"></span></p> Bar ``` The current spec suggests that, since this paragraph has an in-flow child, its margins should not collapse, when in reality, all the margins here collapse into a single `1em` gap, because there's nothing in-between. See https://github.com/w3c/csswg-drafts/pull/13699 -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 21 March 2026 10:15:43 UTC