Auto merge of #20687 - kwonoj:fix-capture-wr-guard, r=KiChjang
Auto merge of #20687 - kwonoj:fix-capture-wr-guard, r=KiChjang

fix(browser): do not omit unexpected keyevent

<!-- Please describe your changes on the following line: -->
- closes #20681

This PR intends to fix regression caused by changes I created in #20315. In code, it matches keyevent aggressively for any pattern includes `Some('3')`, ends up actual key event does not bubbles up. This PR applies correct pattern guard to pick up specific keyevent only, other events falls back to default patterns.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [ ] `./mach build-geckolib` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #20681 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
- manually verified
1. typing `3` in input field works
2. ctrl-shift-3 create webrender capture (verified on mac os)

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/20687)
<!-- Reviewable:end -->

saneyuki/servo,pyfisch/servo,saneyuki/servo,notriddle/servo,splav/servo,jimberlage/servo,szeged/servo,pyfisch/servo,ConnorGBrewster/servo,avadacatavra/servo,canaltinova/servo,sadmansk/servo,paulrouget/servo,notriddle/servo,pyfisch/servo,ConnorGBrewster/servo,cbrewster/servo,pyfisch/servo,jimberlage/servo,SimonSapin/servo,cbrewster/servo,nnethercote/servo,cbrewster/servo,szeged/servo,pyfisch/servo,pyfisch/servo,nnethercote/servo,KiChjang/servo,peterjoel/servo,dati91/servo,mbrubeck/servo,splav/servo,KiChjang/servo,cbrewster/servo,splav/servo,notriddle/servo,larsbergstrom/servo,szeged/servo,dati91/servo,nnethercote/servo,paulrouget/servo,splav/servo,DominoTree/servo,KiChjang/servo,KiChjang/servo,saneyuki/servo,mbrubeck/servo,emilio/servo,dati91/servo,nnethercote/servo,saneyuki/servo,nnethercote/servo,paulrouget/servo,SimonSapin/servo,larsbergstrom/servo,DominoTree/servo,peterjoel/servo,ConnorGBrewster/servo,KiChjang/servo,canaltinova/servo,emilio/servo,ConnorGBrewster/servo,sadmansk/servo,cbrewster/servo,larsbergstrom/servo,dati91/servo,DominoTree/servo,notriddle/servo,SimonSapin/servo,SimonSapin/servo,szeged/servo,szeged/servo,SimonSapin/servo,szeged/servo,dati91/servo,avadacatavra/servo,emilio/servo,pyfisch/servo,peterjoel/servo,cbrewster/servo,DominoTree/servo,szeged/servo,larsbergstrom/servo,cbrewster/servo,sadmansk/servo,jimberlage/servo,emilio/servo,pyfisch/servo,mbrubeck/servo,jimberlage/servo,ConnorGBrewster/servo,SimonSapin/servo,jimberlage/servo,nnethercote/servo,notriddle/servo,ConnorGBrewster/servo,szeged/servo,paulrouget/servo,notriddle/servo,larsbergstrom/servo,KiChjang/servo,notriddle/servo,saneyuki/servo,splav/servo,avadacatavra/servo,canaltinova/servo,sadmansk/servo,mbrubeck/servo,canaltinova/servo,dati91/servo,peterjoel/servo,paulrouget/servo,larsbergstrom/servo,peterjoel/servo,canaltinova/servo,peterjoel/servo,notriddle/servo,dati91/servo,saneyuki/servo,canaltinova/servo,mbrubeck/servo,szeged/servo,splav/servo,mbrubeck/servo,emilio/servo,dati91/servo,jimberlage/servo,sadmansk/servo,emilio/servo,jimberlage/servo,ConnorGBrewster/servo,emilio/servo,jimberlage/servo,avadacatavra/servo,saneyuki/servo,nnethercote/servo,splav/servo,notriddle/servo,emilio/servo,canaltinova/servo,szeged/servo,jimberlage/servo,paulrouget/servo,pyfisch/servo,SimonSapin/servo,KiChjang/servo,DominoTree/servo,avadacatavra/servo,notriddle/servo,sadmansk/servo,splav/servo,DominoTree/servo,KiChjang/servo,peterjoel/servo,canaltinova/servo,saneyuki/servo,paulrouget/servo,saneyuki/servo,emilio/servo,avadacatavra/servo,paulrouget/servo,DominoTree/servo,avadacatavra/servo,peterjoel/servo,larsbergstrom/servo,larsbergstrom/servo,ConnorGBrewster/servo,emilio/servo,DominoTree/servo,peterjoel/servo,KiChjang/servo,mbrubeck/servo,sadmansk/servo,saneyuki/servo,nnethercote/servo,mbrubeck/servo,nnethercote/servo,SimonSapin/servo,peterjoel/servo,DominoTree/servo,nnethercote/servo,sadmansk/servo,splav/servo,splav/servo,paulrouget/servo,larsbergstrom/servo,larsbergstrom/servo,DominoTree/servo,KiChjang/servo,paulrouget/servo,pyfisch/servo,cbrewster/servo,avadacatavra/servo