mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 15:35:06 +00:00
![]() Before, we were using the line height from NodeWithStyle::line_height() to calculate the y offset for floats inside the IFC. However, this value doesn't always correspond to the actual height of a line box. For instance, adding a fragment for an inline-block might change the height of the line box. With this change, we recalculate the height of the line box after adding a new fragment and use this recalculated height value to determine the y position for floats. Fixes https://github.com/SerenityOS/serenity/issues/20982 |
||
---|---|---|
.. | ||
expected | ||
input |