Re: [csswg-drafts] Clarify float positioning with anonymous block-level boxes (#11226)

> The text "inline content" should be wrapped in an anonymous block-level box because of its inline nature.

Yes, but the float is also placed inside this this anonymous block. Since it's out-of-flow it doesn't break the sequence of inline-level contents.

Or at least that's how we did it in Servo. (We just happen to match your expectation because the intrinsic sizes of an inline formatting context don't handle floats well, but we match other browsers if the container is wide enough)



-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11226#issuecomment-2481439375 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 17 November 2024 19:24:28 UTC