1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

LibWeb: Add proper parsing of the AlignItems property

This teaches all the relevant places about 'align-items'.
This commit is contained in:
Tobias Christiansen 2021-09-15 18:27:20 +02:00 committed by Andreas Kling
parent 51b42e0463
commit 307f90b675
5 changed files with 37 additions and 0 deletions

View file

@ -211,6 +211,14 @@ enum class JustifyContent {
SpaceAround,
};
enum class AlignItems {
FlexStart,
FlexEnd,
Center,
Baseline,
Stretch,
};
class StyleValue : public RefCounted<StyleValue> {
public:
virtual ~StyleValue();