Bug with v126 zoom implementation
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: duncan, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15
Steps to reproduce:
Use the attached test code. It changes the body zoom factor dynamically based on browser width, using a small javascript callback.
Load the page and resize the browser, the two colored boxes change size based on the zoom. They should remain in their relative position and scale smoothly.
Actual results:
At some zoom factors the layout breaks, and the right box moves below the first. Presumably rounding errors in the layout geometry calculations with specific zoom values.
Expected results:
The two boxes should always scale smoothly with the browser window width, never breaking the layout. That's what happens in current versions of Safari (17.x) and Chrome (124), i.e. they work as expected.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Here's a modified version of the testcase showing that the same issue reproduces by simply animating the zoom property, without involving any JS computations.
Description
•