Open
Bug 1330627
Opened 9 years ago
Updated 3 years ago
Jerky animation when animating perspective and transform at the same time
Categories
(Core :: DOM: Animation, defect, P3)
Core
DOM: Animation
Tracking
()
People
(Reporter: gibbok.coding, Unassigned)
References
Details
(Keywords: parity-chrome)
Attachments
(1 file)
|
1.76 MB,
video/x-flv
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Steps to reproduce:
- Open https://jsfiddle.net/gibbok/8fL3g5tf/
Actual results:
The code snippet use Web Animations API to animate two divs.
The first animate `perspective` value for a `div wrapper.
The second animate 'transform' for `div` content.
Both animations execute simultaneously.
The result is a jerky animation on
FF: 50.1.0
FF: 52.0a2 (2017-01-12) (32-bit)
On Chrome Version 55.0.2883.87 m both animation are fluid and have no issues.
Expected results:
The animation should be fluid as in Chrome version.
Updated•9 years ago
|
status-firefox50:
--- → wontfix
status-firefox51:
--- → affected
status-firefox52:
--- → affected
status-firefox53:
--- → affected
Component: Untriaged → Layout
Product: Firefox → Core
Updated•9 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [parity-chrome]
Comment 1•9 years ago
|
||
I don't see any particular jerkiness on my machine, but I wouldn't be surprised if there was some: we don't animate 'perspective' on the compositor so it's susceptible to main thread jank. (You can verify this in the animation inspector where you can see that the transform animation is running on the compositor and the perspective animation is not.)
Comment 2•9 years ago
|
||
I'm not really sure how feasible this is or how frequently it is used.
Summary: Jerky animation when using Web Animations and perspective → Animate perspective on the compositor
Version: 50 Branch → Trunk
Comment 3•9 years ago
|
||
Oh, now I see the video and I guess this bug is more about synchronization between the perspective animation and transform animation. That suggests we add another heuristic to turn off transform animations when we have perspective animations running at the same time? Perhaps it would just be an extension of bug 1301305 to treat 'perspective' as a geometric property. Or perhaps limited to when perspective is being animated on an (inclusive) ancestor.
Blocks: enable-omt-animations
Component: Layout → DOM: Animation
Summary: Animate perspective on the compositor → Jerky animation when animating perspective and transform at the same time
Comment 4•9 years ago
|
||
s/turn off transform animations/turn off async transform animations/
Updated•9 years ago
|
Priority: -- → P3
Comment 5•7 years ago
|
||
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-chrome
Whiteboard: [parity-chrome]
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•