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:
parent
1ca33598da
commit
785ace4fc2
4 changed files with 3 additions and 166 deletions
|
@ -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);
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue