1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

LibWeb: Remove on-demand font resolution

Fonts are now resolved as part of the CSS cascade.
This commit is contained in:
Andreas Kling 2021-09-23 19:51:45 +02:00
parent 1ca33598da
commit 785ace4fc2
4 changed files with 3 additions and 166 deletions

View file

@ -205,7 +205,7 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& specified_style)
{
auto& computed_values = static_cast<CSS::MutableComputedValues&>(m_computed_values);
m_font = specified_style.font(*this);
m_font = specified_style.computed_font();
m_line_height = specified_style.line_height(*this);
{