diff options
author | Timon Kruiper <timonkruiper@gmail.com> | 2022-10-12 10:55:52 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-10-12 11:08:29 +0200 |
commit | 8373a14835b70548e0af6d93b9fa8813e29588be (patch) | |
tree | 80d2d4c38ed737fb87838d088743d869da586a8a /Userland/Applications | |
parent | ca0a0b7a932306835bdb039c44584652a04e1378 (diff) | |
download | serenity-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