servo/components/shared/layout
Jo Steven Novaryo a063b5e78a
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>
2025-08-01 07:30:22 +00:00
..
Cargo.toml script|layout: Do not force restyle when doing script queries (#37677) 2025-06-26 08:02:15 +00:00
layout_damage.rs layout: optimize the propagation and cleanup of RestyleDamage (#38199) 2025-07-25 12:10:16 +00:00
lib.rs script: Fire scroll event whenever JS scrolled (#38321) 2025-08-01 07:30:22 +00:00
wrapper_traits.rs Rename script_layout_interface to layout_api (#37591) 2025-06-20 17:13:05 +00:00