mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +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
|
@ -59,7 +59,7 @@ public:
|
|||
Length length_or_fallback(CSS::PropertyID, const Length& fallback, float reference_for_percentages) const;
|
||||
String string_or_fallback(CSS::PropertyID, const StringView& fallback) const;
|
||||
Color color_or_fallback(CSS::PropertyID, const Document&, Color fallback) const;
|
||||
CSS::ValueID text_align() const;
|
||||
CSS::TextAlign text_align() const;
|
||||
|
||||
const Gfx::Font& font() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue