servo/components/shared/compositing
Euclid Ye c5aeac3cea
script: Get the window rectangle from the WebViewDelegate instead of via the compositor (#37960)
Previously, `screenX`, `screenY`, `outerHeight`, `outerWidth`, `moveBy`,
`resizeBy` ask compositor for window rectangle, which then return
"inner" rectangle after consulting Embedder.

This PR 
1. removes `GetClientWindowRect` from compositor, and directly let
script ask embedder.
2. add `window_size` to `ScreenGeometry`
3. add a lot of docs to `ScreenGeometry`

Testing: `tests\wpt\mozilla\tests\mozilla\window_resizeTo.html` can now
pass for Headed Window.
Fixes: #37824

---------

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-07-11 18:31:24 +00:00
..
tests libservo|compositor: Have scroll offset directionality match that of WebRender and the web (#37752) 2025-07-03 13:04:06 +00:00
Cargo.toml compositor: only UpdateImages that accepts SmallVec and add helpers for single image (#37730) 2025-06-26 14:57:15 +00:00
display_list.rs layout: When setting post-layout / renderer scroll offsets limit by scroll area (#37829) 2025-07-08 19:27:42 +00:00
lib.rs script: Get the window rectangle from the WebViewDelegate instead of via the compositor (#37960) 2025-07-11 18:31:24 +00:00
rendering_context.rs compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00
viewport_description.rs Add support for parsing and applying viewport <meta> (#35901) 2025-06-06 15:13:51 +00:00