Elements jump with animated scrolling with fractional scaling on Linux
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | fixed |
People
(Reporter: marcelohdez.inq, Assigned: gw)
Details
Attachments
(2 files, 1 external file)
Steps to reproduce
Have 133% scaling for my display on GNOME 51, go to https://ground.news landing page.
Actual results
The stories scrolling on the side jump around as they scroll.
Expected results
The elements should scroll rather smoothly like in Chrome.
| Reporter | ||
Comment 1•21 days ago
|
||
Comment 2•21 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Panning and Zooming' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•21 days ago
|
||
Geez, this looks a pixel snapping issue. Note that it doesn't look related scrolling, the container's transform style value is being changed.
| Assignee | ||
Updated•20 days ago
|
| Assignee | ||
Comment 4•17 days ago
|
||
WebRender snaps an item with every enclosing reference frame's origin
composed in, rounding the accumulated offset of snapping frames, but the
inherited transform Gecko rounds an image's rect with to pick its raster size
only carried the frames' transforms. Under a fractional origin the size could
be a device pixel off the snapped rect, and when a transform moved from script
it alternated between sizes, re-decoding the image and changing its shape.
The tests are Mozilla reftests because they rely on layout.css.devPixelsPerPx
and layout.disable-pixel-alignment.
Updated•9 days ago
|
Description
•