When loading images on my site, firefox briefly (for around half a second) flashes the alt text before the image loads.
There are other issues about this, but everyone suggests adding
img:-moz-loading {
visibility: hidden;
}
I have done so in the top-level CSS for the site, and it seemed to work in the past but has regressed. The alt text still flashes, and I can't find any alternative paths forward. There is a closed Bugzilla report without any activity in the past 5 years.
Any idea on how to dig deeper into this? From what I can tell the img element has nothing non-standard going on.

I assume that you have some kind of lazy loader.
So you can hide
altuntilimghassrclike this: