- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 16 Jun 2023 16:20:28 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == Nobody follows the spec that clearance should prevent margin collapse == https://drafts.csswg.org/css2/#adjoining-margins > Two margins are adjoining if and only if: [...] > - no line boxes, **no clearance**, no padding and no border separate them However, Firefox, Chromium and WebKit collapse in this case: ```html <!DOCTYPE html> aaaa <div style="margin: 50px 0"> <div style="clear: both"></div> </div> bbbb ``` Not sure if I'm missing something, but should the condition be dropped? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8977 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 16 June 2023 16:20:30 UTC