mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 01:22:12 +02:00
This is required for the block formatting context to know the height of the <br> element while computing the height of its parent. Specifically, this comes into play when the <br> element is the first or last child of its parent. In that case, it previously would not have any fragments, so BlockFormattingContext::compute_auto_height_for_block_level_element would infer its top and bottom positions to be 0.
2.0 KiB
2.0 KiB