mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Add missing base class upcalls in Node::inserted() overrides
This commit is contained in:
committed by
Andreas Kling
parent
7269fc3e52
commit
003c045589
Notes:
github-actions[bot]
2025-01-23 20:40:14 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/003c045589d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3345 Reviewed-by: https://github.com/AtkinsSJ
@@ -45,6 +45,8 @@ void HTMLDetailsElement::initialize(JS::Realm& realm)
|
||||
// https://html.spec.whatwg.org/multipage/interactive-elements.html#the-details-element:html-element-insertion-steps
|
||||
void HTMLDetailsElement::inserted()
|
||||
{
|
||||
Base::inserted();
|
||||
|
||||
// 1. Ensure details exclusivity by closing the given element if needed given insertedNode.
|
||||
ensure_details_exclusivity_by_closing_the_given_element_if_needed();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user