mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
LibWeb: Cache the used CSS text-align property on LayoutNodeWithStyle
This commit is contained in:
parent
ae181e1573
commit
f4ecb5362f
6 changed files with 28 additions and 16 deletions
|
@ -114,6 +114,15 @@ enum class Position {
|
|||
Fixed,
|
||||
Sticky,
|
||||
};
|
||||
|
||||
enum class TextAlign {
|
||||
Left,
|
||||
Center,
|
||||
Right,
|
||||
Justify,
|
||||
VendorSpecificCenter,
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
class StyleValue : public RefCounted<StyleValue> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue