mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
compositor: Request reflow when doing a page zooming (#38166)
Request a reflow when doing page zoom and only modify the scaling of the WebView scene after the first root pipeline display list with the new zoom is ready. In addition: - store zoom limits in `Scale` types - send `ViewportDetails` along with the display list so that we can detect when the root pipeline scale is ready. Testing: This is quite hard to test as it requires verification that contents are zoomed appropriately at the right time. Fixes: #38091. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
3d2f0d1be5
commit
8d5faa9bf9
10 changed files with 111 additions and 44 deletions
|
@ -32,6 +32,7 @@ malloc_size_of_derive = { workspace = true }
|
|||
profile_traits = { path = '../profile' }
|
||||
raw-window-handle = { version = "0.6" }
|
||||
serde = { workspace = true }
|
||||
servo_geometry = { path = "../../geometry" }
|
||||
smallvec = { workspace = true }
|
||||
strum_macros = { workspace = true }
|
||||
stylo = { workspace = true }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue