mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Make <input type=checkbox> fire click events when clicked :^)
This makes React react to checkboxes. Apparently they ignore the "change" event in favor of "click" on checkboxes. This is a compatibility hack for IE8.
This commit is contained in:
parent
2660795bcf
commit
246c31ccf6
Notes:
sideshowbarker
2024-07-17 18:37:58 +09:00
Author: https://github.com/awesomekling
Commit: 246c31ccf6
3 changed files with 13 additions and 1 deletions
|
@ -43,6 +43,7 @@ public:
|
|||
bool enabled() const;
|
||||
|
||||
void did_click_button(Badge<Layout::ButtonBox>);
|
||||
void did_click_checkbox(Badge<Layout::CheckBox>);
|
||||
|
||||
void did_edit_text_node(Badge<BrowsingContext>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue