mirror of
https://github.com/servo/servo
synced 2026-05-14 10:56:44 +02:00
Return `KeyReaction::Nothing` for a Tab event Do nothing instead of triggering the default action for a tab event. Hitting the tab key in an html text input shouldn't submit the form, and for any text input, the tab key should have a particular action associated, not the default action. This cleans up #12701. - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14184) <!-- Reviewable:end -->