diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-23 23:28:40 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-23 23:28:40 +0200 |
commit | f4ecb5362f1929b95f253e3e4eb700b4484069cc (patch) | |
tree | 21137d5901895c4f6667da789e6d10c9af3dac45 /Libraries/LibWeb/CSS/StyleValue.h | |
parent | ae181e15738fa65c6736578f4705d546687125e0 (diff) | |
download | serenity-f4ecb5362f1929b95f253e3e4eb700b4484069cc.zip |
LibWeb: Cache the used CSS text-align property on LayoutNodeWithStyle
Diffstat (limited to 'Libraries/LibWeb/CSS/StyleValue.h')
-rw-r--r-- | Libraries/LibWeb/CSS/StyleValue.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Libraries/LibWeb/CSS/StyleValue.h b/Libraries/LibWeb/CSS/StyleValue.h index 577620e031..d68d1680d5 100644 --- a/Libraries/LibWeb/CSS/StyleValue.h +++ b/Libraries/LibWeb/CSS/StyleValue.h @@ -114,6 +114,15 @@ enum class Position { Fixed, Sticky, }; + +enum class TextAlign { + Left, + Center, + Right, + Justify, + VendorSpecificCenter, +}; + } class StyleValue : public RefCounted<StyleValue> { |