mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:57:44 +00:00
LibWeb: Fetch CSS @font-face fonts in @import'ed style sheets
This makes importing Google Fonts via @import rule actually work. :^)
This commit is contained in:
parent
337754ae64
commit
3a4d386f05
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ void CSSImportRule::resource_did_load()
|
|||
m_style_sheet = sheet;
|
||||
|
||||
m_document->style_computer().invalidate_rule_cache();
|
||||
m_document->style_computer().load_fonts_from_sheet(*m_style_sheet);
|
||||
m_document->invalidate_style();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue