background-image set via variable to an svg data uri flickers if set to a mask image too.
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(3 files)
(As reported by rossi in bug 1581268 comment #7)
I have this exact bug in v113.0 (macos), you can see it for example on this website: https://docusaurus-openapi.tryingpan.dev/petstore/add-pet
when you click through the menu items or just switch between "default" and "example" in the code sample on the right hand side - the arrows in the sidebar menu are flickering. as soon as you replace the css var with the actual svg url() from the var, it stops flickering.
I can repro that.
Assignee | ||
Comment 1•2 years ago
|
||
Okay so the key to reproduce the bug here is that you need to use the same image as a mask and as a background.
This is because masks load with different cors modes so we miss the cache for one, then insert that and miss the cache for the other, ad infinitum.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
So that we can hold entries loaded with different CORS modes, such as
masks and backgrounds.
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2a4a5c3dd88c
https://hg.mozilla.org/mozilla-central/rev/acf9b0ad85cc
Updated•2 years ago
|
Reproducible on a 2023-05-23 Nightly build on Windows 10.
Verified as fixed on Firefox 115.0b5(build ID: 20230613195413) and Nightly 116.0a1(build ID: 20230615094111) on Windows 10, macOS 12, Ubuntu 22.
Updated•6 months ago
|
Description
•