mirror of
https://github.com/servo/servo.git
synced 2025-07-17 20:33:40 +01:00
Similar to #37960, previously, `AvailHeight`, `AvailWidth`, `Height`, `Width` ask compositor for screen metrics. This PR moves the request to embedder. This simplifies code, and reduces workload of compositor, which is busier most of time. Testing: No behaviour change. Updated some tests. `Width/Height` matches other browsers. --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com> |
||
---|---|---|
.. | ||
tests | ||
Cargo.toml | ||
display_list.rs | ||
lib.rs | ||
rendering_context.rs | ||
viewport_description.rs |