mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 06:18:59 +00:00
LibWeb: Add metadata to children update steps invocation
Currently, this metadata is only provided on the insertion steps, though I believe it would be useful to extend to the other cases as well. This metadata can aid in making optimizations for these steps by providing extra context into the type of change which was made on the child.
This commit is contained in:
parent
6c1470994b
commit
903c8860f8
Notes:
github-actions[bot]
2025-01-30 20:56:50 +00:00
Author: https://github.com/shannonbooth
Commit: 903c8860f8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3373
Reviewed-by: https://github.com/ADKaster ✅
27 changed files with 52 additions and 40 deletions
|
@ -292,9 +292,9 @@ i32 HTMLSelectElement::default_tab_index_value() const
|
|||
return 0;
|
||||
}
|
||||
|
||||
void HTMLSelectElement::children_changed()
|
||||
void HTMLSelectElement::children_changed(ChildrenChangedMetadata const* metadata)
|
||||
{
|
||||
Base::children_changed();
|
||||
Base::children_changed(metadata);
|
||||
update_cached_list_of_options();
|
||||
update_selectedness();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue