Re: [csswg-drafts] [css-rhythm-1] `block-step-size` should not establish an independent formatting context (#11325)

Applying `block-step` to floated content could become its most popular use case. It will solve one of the most annoying things about floated content, and be used by authors who do not care about overall vertical rhythm. 

Look at this image:

<img width="582" alt="Screenshot 2025-01-15 at 11 43 44 AM" src="https://github.com/user-attachments/assets/0a7631d5-953d-4766-a45c-0d9048d6d1d2" />

The amount of space under a floated image in situations like this always feels janky. It's a bit random & cannot easily be controlled. The floated content is never the "right height" to make the layout look beautiful. 

In the future, block step sizing can be used to fix this. Apply `block-step: lh1` to all floated content to get it to be an increment of the line height of the text. Done.

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


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

Received on Wednesday, 15 January 2025 16:51:28 UTC