mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
script: Fire scroll
event whenever JS scrolled (#38321)
Implement JS scroll event firing compliant to https://drafts.csswg.org/cssom-view/#scrolling-events. Basically whenever, the an element or the viewport is scrolled, we will fire a scroll event. The changes push a scroll event whenever an API causes a scroll position to change. Testing: New WPT tests for basic APIs. Part of: https://github.com/servo/servo/issues/31665 --------- Signed-off-by: Jo Steven Novaryo <jo.steven.novaryo@huawei.com>
This commit is contained in:
parent
372e5eae59
commit
a063b5e78a
11 changed files with 407 additions and 74 deletions
|
@ -1,4 +0,0 @@
|
|||
[new-scroll-event-dispatched-at-next-updating-rendering-time.html]
|
||||
expected: TIMEOUT
|
||||
[new-scroll-event-dispatched-at-next-updating-rendering-time]
|
||||
expected: TIMEOUT
|
Loading…
Add table
Add a link
Reference in a new issue