diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-04-02 13:32:28 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-02 20:36:02 +0200 |
commit | 7d8d45e757ec16a73406746e179ab611a90a32d1 (patch) | |
tree | faf6cc5a471746aaecd6f81eeeb1fc54aaa671fd /Userland/Applications | |
parent | a106f852d3171ae35a4e09870cbb2aef24c2fd10 (diff) | |
download | serenity-7d8d45e757ec16a73406746e179ab611a90a32d1.zip |
LibWeb: Add a line box fragment for <br> nodes
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.
Diffstat (limited to 'Userland/Applications')
0 files changed, 0 insertions, 0 deletions