gecko-dev/gfx
Timothy Nikkel d94292fc70 Bug 1710050. Double tap on tall wide element after zooming in scrolls up. r=botond
The DoubleTapToZoom code starts with the rect for the whole element: let's say it runs the entire height of the (scrollable) page, and the entire width, and the width is enough to make it scrollable horizontally. Then it shrinks the height of the rect so the aspect ratio is the same as the composition bounds. Since the width of the element is wider than the composition bounds at minimum zoom, so too is the height. So it is impossible zoom out far enough to fit the whole target rect. We end up scrolling to the top left of this rect.

We want to zoom out so that we center what was visible before zooming out. This will keep whatever was in the center of the screen stationary. One might think we would want to center the rect on the cursor position, but that leads to scrolling document and does not look/feel good.

The test runs into bug 1710052, so that the layout scroll position never gets updated.

I checked that the test fails locally and on try server without this patch.

Differential Revision: https://phabricator.services.mozilla.com/D114588
2021-05-20 11:22:34 +00:00
..
2d Bug 1540737 - Implement PushLayerWithBlend for DrawTargetCairo. r=jrmuizel 2021-05-19 01:11:30 +00:00
angle Bug 1700621: Switch Angle over to Jeff r=jewilde,jgilbert 2021-03-24 17:17:12 +00:00
cairo Bug 454059 - Add [minimal] tag support to cairo-quartz-surface.c. r=jrmuizel 2021-05-11 17:00:29 +00:00
config Bug 1711118 - Part 2. Allow Software WebRender without the GPU process in release. r=jrmuizel 2021-05-14 13:01:21 +00:00
docs Bug 1541472 - Remove Advanced Layers, since it's disabled everywhere now. r=jrmuizel 2021-02-10 02:04:41 +00:00
gl Bug 1711490 - Stop using allocating a depth buffer for the main window. r=nical 2021-05-17 19:54:35 +00:00
graphite2
harfbuzz Bug 1711947 - Update glyph properties during AAT substitutions so that mark zeroing works as expected. r=RyanVM 2021-05-19 22:13:13 +00:00
ipc Bug 1707610 - Make GPU process restart criteria depend on rendering frames and uptime. r=jrmuizel 2021-05-06 19:47:38 +00:00
layers Bug 1710050. Double tap on tall wide element after zooming in scrolls up. r=botond 2021-05-20 11:22:34 +00:00
ots Bug 1696935 - Update OTS to 8.1.4. r=jfkthame 2021-03-10 15:45:45 +00:00
qcms Bug 1710897 - Handle matrix inversion failing more gracefully. r=aosmond 2021-05-12 20:52:53 +00:00
sfntly
skia Bug 1684050 - choose appropriate stroke res scale for PathSkia::StrokeContainsPoint. r=bobowen 2021-01-14 09:01:54 +00:00
src Bug 1519636 - Reformat recent changes to the Google coding style. r=necko-reviewers,geckoview-reviewers,agi 2021-04-26 15:52:25 +00:00
tests Bug 1711118 - Part 2. Allow Software WebRender without the GPU process in release. r=jrmuizel 2021-05-14 13:01:21 +00:00
thebes Bug 1708768 - Make InitFontList safe to call off-main-thread on macOS, and run font-list initialization on a separate thread during startup. r=lsalzman 2021-05-18 11:10:43 +00:00
vr Bug 1519636 - Initial reformat of C/C++ code with clang-format version 12.0.0. r=sylvestre 2021-05-10 07:15:07 +00:00
webrender_bindings Bug 1711211 - Ensure RenderCompositorOGLSWGL does a full render after EGL surface creation. r=sotaro 2021-05-19 06:41:20 +00:00
wgpu Bug 1622846 - Update BlendFactor API in WebGPU r=webidl,jimb,smaug 2021-04-22 19:18:49 +00:00
wgpu_bindings Bug 1709462 - Fix freeing of WebGPU bind group layouts r=jimb 2021-05-18 16:26:27 +00:00
wr Bug 1711648 - Implement Peek and Poke for euclid::Box2D. r=gfx-reviewers,jrmuizel 2021-05-19 14:35:26 +00:00
ycbcr Bug 1654461 - Make ConvertYCbCrToRGB32 color range aware r=jbauman,aosmond 2021-05-19 18:03:43 +00:00
moz.build