LibWeb: Stop radio buttons firing change events when losing focus

This commit is contained in:
Psychpsyo 2024-11-22 13:05:10 +01:00 committed by Tim Ledbetter
parent 75b7a3e413
commit c75dda8f8b
Notes: github-actions[bot] 2024-11-22 13:59:41 +00:00
3 changed files with 25 additions and 0 deletions

View file

@ -638,6 +638,7 @@ void HTMLInputElement::commit_pending_changes()
case TypeAttributeState::Text:
case TypeAttributeState::URL:
case TypeAttributeState::Checkbox:
case TypeAttributeState::RadioButton:
if (!m_has_uncommitted_changes)
return;
break;