LibWeb: Cache the used CSS text-align property on LayoutNodeWithStyle

This commit is contained in:
Andreas Kling
2020-06-23 23:28:40 +02:00
parent ae181e1573
commit f4ecb5362f
6 changed files with 28 additions and 16 deletions

View File

@@ -114,6 +114,15 @@ enum class Position {
Fixed,
Sticky,
};
enum class TextAlign {
Left,
Center,
Right,
Justify,
VendorSpecificCenter,
};
}
class StyleValue : public RefCounted<StyleValue> {