Andreas Kling
3e8873b63e
LibWeb: Add Layout::Box::margin_box_height()
2021-01-18 20:20:20 +01:00
Andreas Kling
149f10b0b9
LibWeb: Parse the CSS "flex-direction" property
2021-01-18 20:20:16 +01:00
Andreas Kling
fd7920fa8f
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! :^)
2021-01-18 20:20:13 +01:00
Andreas Kling
d18bc9ccd2
LibWeb: Add Layout::Box::margin_box_width()
2021-01-18 20:20:07 +01:00
Andreas Kling
fd441b954d
LibWeb: Add fast_is<T>() for some DOM and layout node subclasses
...
The generic is<T>() uses dynamic_cast which is fine in the majority
of cases, but when one of them shows up in profiles, we can make it
faster by answering the is-a question manually.
2021-01-17 14:42:50 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00