1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:07:34 +00:00

LibWeb: Add a very naive Layout::FlexFormattingContext :^)

This is very dumb and only lays out its child boxes on a horizontal
line with their shrink-to-fit widths.

You have to start somewhere! :^)
This commit is contained in:
Andreas Kling 2021-01-18 17:33:46 +01:00
parent d18bc9ccd2
commit fd7920fa8f
4 changed files with 120 additions and 2 deletions

View file

@ -152,6 +152,7 @@ set(SOURCES
Layout/ButtonBox.cpp
Layout/CanvasBox.cpp
Layout/CheckBox.cpp
Layout/FlexFormattingContext.cpp
Layout/FormattingContext.cpp
Layout/FrameBox.cpp
Layout/ImageBox.cpp