mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibWeb/CSS: Set @import
as the owner rule of their loaded style sheet
This commit is contained in:
parent
4e18fce3a5
commit
240b58e90f
Notes:
github-actions[bot]
2024-09-03 09:13:42 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/240b58e90fb Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1168 Reviewed-by: https://github.com/trflynn89
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue