Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upStyling / layout bug when zooming. #15801
Closed
Comments
|
Yeah, this is likely a layout bug (not a styling bug, given the computed styles don't change at all). We're supposed to handle it in layout_thread: https://github.com/servo/servo/blob/master/components/layout_thread/lib.rs#L1077 Either that |
clementmiao
added a commit
to clementmiao/servo
that referenced
this issue
Apr 7, 2017
Fixes servo#15801
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test case:
If you use the recently landed page zoom support (Ctrl, Shift, + and Ctrl, -) to zoom in and out of the page, it doesn't correctly calculate the size and position of the div. However, running it with
-ito disable incremental layout makes it work correctly (it then matches Gecko).It looks like maybe the % elements aren't being restyled / calculated? I confirmed that it's detecting the viewport size has changed in layout, but didn't investigate any further.