LibWeb: Add missing calls to Base::children_changed

Also making sure that it is called at the top of the implementation
for consistency.
This commit is contained in:
Shannon Booth
2025-01-26 13:49:39 +13:00
committed by Tim Ledbetter
parent 22a7cd9700
commit 14eb081af8
5 changed files with 8 additions and 2 deletions

View File

@@ -34,8 +34,8 @@ void HTMLStyleElement::visit_edges(Cell::Visitor& visitor)
void HTMLStyleElement::children_changed()
{
m_style_element_utils.update_a_style_block(*this);
Base::children_changed();
m_style_element_utils.update_a_style_block(*this);
}
void HTMLStyleElement::inserted()