summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/CSS/StyleValue.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-23 23:28:40 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-23 23:28:40 +0200
commitf4ecb5362f1929b95f253e3e4eb700b4484069cc (patch)
tree21137d5901895c4f6667da789e6d10c9af3dac45 /Libraries/LibWeb/CSS/StyleValue.h
parentae181e15738fa65c6736578f4705d546687125e0 (diff)
downloadserenity-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.h9
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> {