mirror of
https://github.com/servo/servo.git
synced 2025-07-21 22:33:41 +01:00
- Instead of eagerly computing `pageX` and `pageY`, collect the offset from the content's initial containing block in the compositor and pass that information through to `MouseEvent`. This prevents a layout flush that was happening when eagerly trying to fetch `Document` scroll offsets. - Pass keyboard modifiers properly to `MouseEvent`. - Now all this information is stored and passed as `Point2D` (typed) and `Modifiers` which greatly reduces the amount of arguments that need to be passed around. Testing: It is difficult to test input events as they require WebDriver which isn't completely working yet. I have manually run Speedometer 2.1 and I have verified that this fixes the regression from #37601. Fixes: #37601. Signed-off-by: Martin Robinson <mrobinson@igalia.com> |
||
---|---|---|
.. | ||
Cargo.toml | ||
compositor.rs | ||
lib.rs | ||
refresh_driver.rs | ||
touch.rs | ||
tracing.rs | ||
webview_manager.rs | ||
webview_renderer.rs |