The position of the PiP flyout is shifted up during the sliding animation
Categories
(Toolkit :: Picture-in-Picture, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fix-optional |
People
(Reporter: daniel.kolsis, Unassigned)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
image/gif
|
Details |
Affected platforms:
Ubuntu 18
Affected versions:
72.0a1
Description:
When hovering over/away from the PiP icon from the right side of the video frame, the flyout will perform a slide-in/slide-out animation. It was observed that during this animation the position of the flyout is shifter ~1 pixel upward. Check the GIF attached for more information.
Steps to reproduce:
- Open any page that contains video content and start the video
- Hover over the PiP icon
Expected result:
The flyout performs a slide-left animation
Actual result:
The position of the flyout is shifted ~1 pixel upwards while the animation is perfomed. The position of the flyout is corrected as the animation stops. The same behavior can be observed when the flyout slides back as the cursor leaves its area.
Comment 2•5 years ago
|
||
According to bug 1599492, this was caused by bug 1574493.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 3•5 years ago
|
||
The picture-in-picture element has an initial transform when not animating, with translateY and translateX components:
And when you hover over it, it only changes the translateX component:
I suspect that it initially snaps using the translateX/translateY components. When the animation begins, it adds a stacking context indicating the transform is animated, and it snaps to identity. When the animation completes, it presumably removes the stacking context, and resnaps using the new translateX/translateY components.
I expected will-change: transform would help, as that would force the stacking context for the animated transform, but it doesn't for some reason....
Updated•5 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Description
•