mirror of
https://github.com/servo/servo.git
synced 2025-07-18 12:53: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> |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs |