- From: Oriol Brufau via GitHub <noreply@w3.org>
- Date: Tue, 24 Mar 2026 21:59:10 +0000
- To: public-css-archive@w3.org
Sure, I should have been more precise. What I don't get is why Blink creates these anonymous blocks. From https://docs.google.com/document/d/15kgdIHhb9EVNup6Ir5NWwJxpzY5GH0ED7Ld3iMW3HlA/edit?tab=t.0 > The anonymous box is not strictly required, but it eases the logic when there are multiple blocks, such as: > - Handle margin collapsing between blocks. > - Handle OOF/floating objects between them. This seemed convincing until I realized that, because of phantom line boxes, margins still need to be able to collapse across these anonymous wrappers, so what's the point? Both WebKit and Servo implemented them at first, but ended up removing them for simplicity (https://github.com/WebKit/WebKit/pull/55250, https://github.com/servo/servo/pull/43586). So I would prefer to not expose this implementation detail of Blink in `getClientRects()`. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13711#issuecomment-4121674840 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 24 March 2026 21:59:11 UTC