Yes, GIF gives error, but while the link expanding works (KM 76.1 and minor), the case isn't about css-fix.
I tried your code but without success under 76.1.1 (well, GIF-error is gone, but expanding still doesn't work). Can't you paste the full part of css-code, devoted to yandex domain, please? (maybe I'm dumb and fill it wrong)
Forum:
Bugs