summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2022-10-12 10:55:52 +0200
committerAndreas Kling <kling@serenityos.org>2022-10-12 11:08:29 +0200
commit8373a14835b70548e0af6d93b9fa8813e29588be (patch)
tree80d2d4c38ed737fb87838d088743d869da586a8a /Userland/Applications
parentca0a0b7a932306835bdb039c44584652a04e1378 (diff)
downloadserenity-8373a14835b70548e0af6d93b9fa8813e29588be.zip
LibWeb: Remove code duplication in computing height for abs-pos elements
This refactors the solve_for_{top, bottom, height, etc} lambdas to use a common solve_for lambda that takes the length to be solved as an argument. This way some code duplication is removed.
Diffstat (limited to 'Userland/Applications')
0 files changed, 0 insertions, 0 deletions