mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Update the select label when option's children are changed
This commit is contained in:
parent
c87f80454b
commit
58c78cb003
Notes:
github-actions[bot]
2025-01-19 18:23:33 +00:00
Author: https://github.com/Gingeh
Commit: 58c78cb003
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3209
Reviewed-by: https://github.com/awesomekling
2 changed files with 23 additions and 7 deletions
|
@ -52,8 +52,10 @@ private:
|
|||
|
||||
virtual void inserted() override;
|
||||
virtual void removed_from(Node*) override;
|
||||
virtual void children_changed() override;
|
||||
|
||||
void ask_for_a_reset();
|
||||
void update_selection_label();
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-elements.html#concept-option-selectedness
|
||||
bool m_selected { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue