mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibWeb: Convert Layout::Node to new pixel units
This commit is contained in:
parent
65cdf89a8b
commit
5d8e3f5122
Notes:
sideshowbarker
2024-07-17 02:08:36 +09:00
Author: https://github.com/AtkinsSJ
Commit: 5d8e3f5122
Pull-request: https://github.com/SerenityOS/serenity/pull/16514
Reviewed-by: https://github.com/MacDue
Reviewed-by: https://github.com/linusg ✅
7 changed files with 18 additions and 18 deletions
|
@ -138,7 +138,7 @@ NonnullRefPtr<Gfx::Font> StyleProperties::font_fallback(bool monospace, bool bol
|
|||
return Platform::FontPlugin::the().default_font();
|
||||
}
|
||||
|
||||
float StyleProperties::line_height(Layout::Node const& layout_node) const
|
||||
CSSPixels StyleProperties::line_height(Layout::Node const& layout_node) const
|
||||
{
|
||||
auto line_height = property(CSS::PropertyID::LineHeight);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue