Snapping problem (and a jiggling image) on postbank.de
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox63 | --- | unaffected |
| firefox64 | --- | disabled |
| firefox65 | --- | disabled |
| firefox66 | --- | fixed |
People
(Reporter: jan, Assigned: aosmond)
References
(Blocks 1 open bug, )
Details
(Keywords: correctness, nightly-community, regression)
Attachments
(2 files)
Updated•7 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
| Assignee | ||
Comment 6•7 years ago
|
||
The latest clipping changes fixed my new reftest, but I can still reproduce the issue on the original link while it is animating/scaling the image, if I adjust the initial zooming.
| Assignee | ||
Comment 7•7 years ago
|
||
The updated reftest doesn't look the same yet (closer, but now the red rect is too small), but the original problem and the green rect spilling past the red rect in the upper left corner in the reftest can be solved by rounding the bounds rect of the transform: https://searchfox.org/mozilla-central/rev/c43240cef5829b8a2dec118faff8a5e1fec6ae1b/gfx/layers/wr/StackingContextHelper.cpp#71
| Assignee | ||
Comment 8•7 years ago
|
||
For a container frame, if there is no transform or the transform is only a translation, we appear to round the offset we get from the reference frame:
https://searchfox.org/mozilla-central/source/layout/painting/FrameLayerBuilder.cpp#6112-6135
If we make the same decision in nsDisplayTransform::CreateWebRenderCommands, this seems to fix this bug, as well as bug 1498962. Reftests seem unaffected if we do this:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c541d386025b77f28e1b57f19196593a6f06f3f5
Updated•7 years ago
|
Comment 10•7 years ago
|
||
| bugherder | ||
Description
•