mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-27 04:31:58 +00:00
LibWeb: Cache the used CSS text-align property on LayoutNodeWithStyle
This commit is contained in:
parent
ae181e1573
commit
f4ecb5362f
Notes:
sideshowbarker
2024-07-19 05:24:58 +09:00
Author: https://github.com/awesomekling
Commit: f4ecb5362f
6 changed files with 28 additions and 16 deletions
|
@ -217,6 +217,7 @@ LayoutNodeWithStyle::LayoutNodeWithStyle(const Node* node, NonnullRefPtr<StylePr
|
|||
{
|
||||
m_has_style = true;
|
||||
m_position = m_style->position();
|
||||
m_text_align = m_style->text_align();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue