Closed Bug 1452017 Opened 8 years ago Closed 2 years ago

The animation of transition when pressinng the next button is jittery.

Categories

(Core :: Layout, defect)

57 Branch
Unspecified
Windows 7
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox61 --- affected

People

(Reporter: karlcow, Unassigned)

References

()

Details

Spin off of a webcompat issue for a jittery animation (probably not the right component) https://webcompat.com/issues/10973 But in fact it seems to be the full page which has a performance issue. The issue is more acute with the devtools open and trying to inspect it. Taking a performance profile without interacting with the page shows activity for a page which is visually static.

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

Ksenia, if this still reproduces, could you attach a perfhtml profile please? If not, feel free to close.

Flags: needinfo?(kberezina)

It's reproducible for me in Nightly on Windows. I've created a profile for clicking on the slider arrows.

Flags: needinfo?(kberezina)

Thanks!

Whiteboard: [webcompat] → [qf]

This is an instance of bug 1100357: We're refusing to run an animation on the compositor because of the animated element's size, and the main thread can't animate smoothly because it's busy running JS.

Every time the button is clicked, googletagmanager runs around 600ms of JavaScript. This also happens in Chrome (it takes around 550ms in Chrome).
The animation itself is a CSS transition of the transform property: There's an element that's twice as wide as the page and which contains both slides side by side, and then that element moves over so that the other slide is visible.
In Chrome, this animation runs on the compositor, so it runs even while the main thread is running the googletagmanager JS.
In Firefox, this animation does not run on the compositor, because of a layer size restriction. (If you zoom the page out enough, the layer size restriction no longer kicks in and the animation runs smoothly.)

I'm going to mark this bug as dependent on bug 1100357, and set any qf flags over there.

Whiteboard: [qf]
Depends on: 1100357
Component: DOM: Events → Layout
Priority: P3 → --
URL: https://www.glassdoor.co.in/index.htm → https://www.glassdoor.co.in/index.htm
Webcompat Priority: ? → ---
Severity: normal → S3

Glassdoor's index page changed significantly, and the new one doesn't have a similar slider. We don't have an isolated testcase for this. Also, bug 1100357 is marked as fixed now. I'll close this bug as incomplete due to the lack of info here.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.