Closed Bug 1519838 Opened 5 years ago Closed 5 years ago

Background-position fails to animate under special circumstances

Categories

(Core :: CSS Transitions and Animations, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox-esr60 --- unaffected
firefox64 --- wontfix
firefox65 --- fixed
firefox66 --- fixed

People

(Reporter: cers, Assigned: jwatt)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached file Simplified test case

First discovered here: https://twitter.com/anatudor/status/1083816059751284736

Under very specific circumstances, background-position fails to animate.
Curiously, it animates properly if you click (and hold) somewhere inside the document and move your mouse continuously.

STR:

  1. Load attached test case

What should happen:

You should see two squares with animating backgrounds, the bottom one slightly masked.

What happens:

Unmasked square animates correctly, masked one doesn't animate at all.

I've tracked the regression via mozregression to https://hg.mozilla.org/integration/mozilla-inbound/rev/d2218beee052 landed in bug 1494092.

Flags: needinfo?(jwatt)

Thanks for the bug report, and especially the reduced testcase!

Blocks: 1494092
Flags: needinfo?(jwatt)

Hmm, this seems to work with WebRender... that's weird.

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)

Hmm, this seems to work with WebRender... that's weird.

I don't know if it's related, but the original example from twitter fails differently in WebRender.
The background animation seems to work as intended, but the rotation is wonky.

Status: NEW → RESOLVED
Closed: 5 years ago
Depends on: 1517197
Resolution: --- → FIXED
Assignee: nobody → jwatt
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: