mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
This change implements the `scrollend` event. Since there is no support for asynchronous / smooth scrolling, with this change all `scroll` events simply send a `scrollend` event in a way that looks a bit like what the specification says. Note that there are currently some serious issues (w3c/csswg-drafts#8396) with specification, so things are still a bit weird overall. In addition, this organizes and reduces duplication in some of the existing scroll event code. Testing: This causes some WPT tests to start passing or to stop timing out. --------- Signed-off-by: abdelrahman1234567 <abdelrahman.hossameldin.awadalla@huawei.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: abdelrahman1234567 <abdelrahman.hossameldin.awadalla@huawei.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>