mirror of
https://github.com/servo/servo
synced 2026-05-09 16:42:16 +02:00
1. Narrow the lifetime of `input_cancel_list` to avoid Runtime multiple BorrowMut error. 2. Work around the buggy spec by removing matching item in `input_cancel_list` when dispatch `keyUp` and `mouseUp`. See https://github.com/servo/servo/issues/37579#issuecomment-2990762713 Testing: All WebDriver WPT test. Fixes: #37579 --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>