mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb/CSS: Set CSSFontFaceDescriptors' parent rule
This commit is contained in:
parent
ffc01626f7
commit
efad6e96aa
Notes:
github-actions[bot]
2025-05-03 11:03:17 +00:00
Author: https://github.com/AtkinsSJ
Commit: efad6e96aa
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4536
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ CSSFontFaceRule::CSSFontFaceRule(JS::Realm& realm, GC::Ref<CSSFontFaceDescriptor
|
||||||
: CSSRule(realm, Type::FontFace)
|
: CSSRule(realm, Type::FontFace)
|
||||||
, m_style(style)
|
, m_style(style)
|
||||||
{
|
{
|
||||||
|
m_style->set_parent_rule(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSSFontFaceRule::initialize(JS::Realm& realm)
|
void CSSFontFaceRule::initialize(JS::Realm& realm)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue