Open Bug 1839121 Opened 1 year ago Updated 1 year ago

Pinch-zooming on a codepen demo stops its animation until you move mouse inside the demo pane (appears to be a fission bug)

Categories

(Core :: Panning and Zooming, defect, P3)

defect

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

()

Details

Go to https://codepen.io/amit_sheen/pen/zYJzLoy
Make sure that the code-pane is to the right, and the demo-pane is to the left
Pinch-zoom till scrollbars appear on the page

AR: the animation will stop. The animation will work if you continue to move mouse inside the demo
ER: Not so

Regression range:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=1a4d9850780709a65b7a090bfbd8eb48f209b3a7&tochange=06c7b4e2d14be1ee8050d6c1eb1ab1bab19ac3c2

This doesnt happen if you download the demo locally and then try to repro. Therefore, this appears to be a fission bug.

The severity field is not set for this bug.
:dholbert, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(dholbert)
Component: Layout → Panning and Zooming

This is due to the offscreen animation throttling.

Historically offscreen animation throttling doesn't care the visual viewport, thus animations out of the visual viewport are not throttled at all. But in Fission this GetTopLevelViewportVisibleRectInBrowserCoords is in the visual viewport coordinate system, thus it's broken.

It would be nice to support visual viewport in offscreen animation throttling whether it's in OOP iframes or not.

Severity: -- → S3
Flags: needinfo?(dholbert)
Priority: -- → P3

3D transform cases are totally different from the visual viewport related one...

You need to log in before you can comment on or make changes to this bug.