Seems to ignore floats in container
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
If text to be balanced is constrained to smaller width by floating elements, that smaller width appears to be ignored and the text is balanced assuming the full width of the container. So balancing does not work in the presence of floating elements constraining the text.
(FWIW, in my case, I'd be fine if the width available in the first line is used for all subsequent lines rather than adjusting width as floats are cleared and/or new ones are encountered, but that's just a special case.)
Contributor guide
Research direction
No source file or test is named in the issue. Reproduce balancing text beside floating elements, then trace the balancing entry point and compare the available width with and without floats; done means constrained text is balanced using the width available around those floats.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100