Animated gif with mask-image not playing unless user is actively dragging mouse
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: nanewman01, Assigned: emilio)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
- Use the mask-image property with a url to an animated GIF
Snippet used:
#content {
width: 200px;
height: 200px;
background-color: aqua;
-webkit-mask-clip: border-box;
-webkit-mask-size: 100% 100%;
-webkit-mask-image: url("./myGif.gif")
}
2) Or viewing the following codepen: https://codepen.io/NicolasNewman/pen/WNOdJMa
Actual results:
The animation only plays if I am actively holding down left click and dragging my mouse across the screen.
Expected results:
Since Chromium doesn't exhibit this behavior and the animation plays as expected, I'm assuming this isn't intended behavior.
Comment 1•3 years ago
•
|
||
Hi Nicolas,
I was able to reproduce the issue on Firefox Nightly 94.0a1 and Firefox 92.0
I'm setting a component in order to get the development team involved in reviewing it.
Thank you for reporting!
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Otherwise we don't properly repaint animated images.
Updated•3 years ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3aa4f09a896e Invalidate WebRender mask data from css::ImageLoader. r=tnikkel
Comment 5•3 years ago
|
||
bugherder |
Comment 6•3 years ago
|
||
The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 7•3 years ago
|
||
It's a very old regression, so I think it can probably ride the trains.
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Confirmed issue with 94.0a1Build ID 20210916214506 on Win10 using TC from Emilio.
Fix verified with 94.0b2.
Comment 9•3 years ago
|
||
Based on Comment 8, I'm marking this issue as Verified Fixed.
Updated•3 years ago
|
Description
•