1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09: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:
Andreas Kling 2023-08-12 17:28:40 +02:00
parent 337754ae64
commit 3a4d386f05
Notes: sideshowbarker 2024-07-16 21:42:29 +09:00

View file

@ -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();
}