mirror of
https://github.com/servo/servo.git
synced 2025-07-19 05:13:55 +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> |
||
---|---|---|
.. | ||
build.rs | ||
Cargo.toml | ||
input_events.rs | ||
lib.rs | ||
resources.rs | ||
user_content_manager.rs | ||
webdriver.rs |