mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
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:
committed by
Tim Ledbetter
parent
22a7cd9700
commit
14eb081af8
@@ -431,6 +431,8 @@ void HTMLTextAreaElement::update_placeholder_visibility()
|
||||
// https://html.spec.whatwg.org/multipage/form-elements.html#the-textarea-element:children-changed-steps
|
||||
void HTMLTextAreaElement::children_changed()
|
||||
{
|
||||
Base::children_changed();
|
||||
|
||||
// The children changed steps for textarea elements must, if the element's dirty value flag is false,
|
||||
// set the element's raw value to its child text content.
|
||||
if (!m_dirty_value) {
|
||||
|
||||
Reference in New Issue
Block a user