mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
LibWeb: Add missing base class upcalls in Node::inserted() overrides
This commit is contained in:
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
3 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -170,6 +170,7 @@ WebIDL::ExceptionOr<void> HTMLMeterElement::set_optimum(double value)
|
|||
|
||||
void HTMLMeterElement::inserted()
|
||||
{
|
||||
Base::inserted();
|
||||
create_shadow_tree_if_needed();
|
||||
}
|
||||
|
||||
|
|
|
@ -92,6 +92,7 @@ double HTMLProgressElement::position() const
|
|||
|
||||
void HTMLProgressElement::inserted()
|
||||
{
|
||||
Base::inserted();
|
||||
create_shadow_tree_if_needed();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue