summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-28 19:17:23 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-28 19:20:40 +0200
commit37f0bd0a42e1090cc61b1a7a480eb0c1ca376dec (patch)
tree87e9255b3e4a13f710baff0b9cdc641d5574845e /Userland/Libraries/LibC
parent76fa57713d7db38736c636f571d9d4a0c82b7e3d (diff)
downloadserenity-37f0bd0a42e1090cc61b1a7a480eb0c1ca376dec.zip
LibWeb: Small fix to height computation for block-with-inline-children
We now compute the used height of height:auto by measuring from the top content edge (y=0) to the bottom of the bottommost line box within the block container. This fixes an issue where we'd fail to account for the topmost line box being taller than any of its fragments (which can happen if the line-height is greater than the height of all fragments on the line.)
Diffstat (limited to 'Userland/Libraries/LibC')
0 files changed, 0 insertions, 0 deletions