mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Implement scroll event (#36687)
Reimplementation of https://github.com/servo/servo/pull/35105. test: `tests/wpt/tests/pointerevents/{pointerevent_hit_test_scroll, pointerevent_hit_test_scroll_visible_decendant}.html` (after https://github.com/servo/servo/pull/37461) Signed-off-by: PotatoCP <kenzieradityatirtarahardja.18@gmail.com> Co-authored-by: PotatoCP <kenzieradityatirtarahardja.18@gmail.com> Co-authored-by: Asun0204 <asun0204@163.com>
This commit is contained in:
parent
152467bc67
commit
96ef92b9ac
5 changed files with 88 additions and 20 deletions
|
@ -99,6 +99,7 @@ mod from_compositor {
|
|||
InputEvent::MouseMove(..) => target_variant!("MouseMove"),
|
||||
InputEvent::Touch(..) => target_variant!("Touch"),
|
||||
InputEvent::Wheel(..) => target_variant!("Wheel"),
|
||||
InputEvent::Scroll(..) => target_variant!("Scroll"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue