diff options
author | Enver Balalic <balalic.enver@gmail.com> | 2022-03-30 19:44:18 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-30 21:16:47 +0200 |
commit | 74d8e201eb7d325ca479fec1ca03e6ff93ca4892 (patch) | |
tree | 6df958cdedc63e05652ab84ceb09fc4f8e406159 /Userland/Libraries/LibDl | |
parent | b526a10d767d1257fe44b2ae0e0e08a7da0ca2e5 (diff) | |
download | serenity-74d8e201eb7d325ca479fec1ca03e6ff93ca4892.zip |
LibWeb: Fix calculating the intrinsic height of a box
For computing height in FormattingContext::calculate_intrinsic_sizes
we were calling into BlockFormattingContext::compute_theoretical_height
which will check if the CSS height property was defined and calculate
the height based on that instead of calculating the intrinsic height
This patch adds a new function calculate_intrinsic_height, which will
call into compute_auto_height_for_block_level_element for a block
element, or into compute_height_for_replaced_element for a replaced
element.
Diffstat (limited to 'Userland/Libraries/LibDl')
0 files changed, 0 insertions, 0 deletions