diff options
author | Euclid Ye <yezhizhenjiakang@gmail.com> | 2025-04-21 11:34:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-21 03:34:39 +0000 |
commit | 990ed8891f1d6ba619bedb14bc8742d5ffae78a6 (patch) | |
tree | aa7bb7e985846ae3b572fd41a0d88b8d7bb0dffb /components/script/dom/htmltablecellelement.rs | |
parent | 76ee127af8db545fbc3412cecd7e641be01502f2 (diff) | |
download | servo-990ed8891f1d6ba619bedb14bc8742d5ffae78a6.tar.gz servo-990ed8891f1d6ba619bedb14bc8742d5ffae78a6.zip |
Rework `ScriptThread::handle_input_event` for behaviour and performance (#36619)
Rework `ScriptThread::handle_input_event` for correct behaviour and
better performance
1. Only trigger click event with primary button, according to spec
2. Avoid unnecessary clone of `ConstellationInputEvent`
This is a follow up of #36413
Testing: Manually tested. Right mouse won't trigger click event now.
Fixes: #35666
cc @jdm @xiaochengh
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Diffstat (limited to 'components/script/dom/htmltablecellelement.rs')
0 files changed, 0 insertions, 0 deletions