mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibWeb/CSS: Set @import as the owner rule of their loaded style sheet
This commit is contained in:
@@ -104,6 +104,7 @@ void CSSImportRule::resource_did_load()
|
||||
}
|
||||
|
||||
m_style_sheet = sheet;
|
||||
m_style_sheet->set_owner_css_rule(this);
|
||||
|
||||
m_document->style_computer().invalidate_rule_cache();
|
||||
m_document->style_computer().load_fonts_from_sheet(*m_style_sheet);
|
||||
|
||||
Reference in New Issue
Block a user