mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-14 15:02:50 +03:00
Preserve shrink-to-fit widths for floated HTML boxes whose CSS width is auto, instead of letting their own block layout expand them back to the containing block width. This matches the CSS float model and fixes floated list-item menus where hover boxes were much wider than their content. Also separate RichText visual font metrics from CSS line-box metrics. Text runs now keep native font height for drawing while line layout still uses CSS line-height, allowing the expected half-leading offset for vertically centered text in block anchors.