I came with this issue in Firefox, or maybe I'm using something wrong, but I use svg images like this:
<img src="image.svg" alt="some image">
And the browser rendering them like this:
I can have them like .png and it works fine, but I need them in .svg
Update with SVG source
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24">
<defs>
<path id="a" d="M13.333 9.333V7.746c0-.717.159-1.08 1.271-1.08H16V4h-2.33c-2.853 0-3.795 1.308-3.795 3.554v1.78H8V12h1.875v8h3.458v-8h2.35L16 9.333h-2.667z"/>
<path id="c" d="M0 0h24v24H0z"/>
</defs>
<g fill="none" fill-rule="evenodd">
<mask id="b" fill="#fff">
<use xlink:href="#a"/>
</mask>
<use fill="#000" xlink:href="#a"/>
<g mask="url(#b)">
<use fill="#232323" xlink:href="#c"/>
</g>
</g>
</svg>
Update 2
Tried to move the fill attribute from <mask> to its child element <use> just like in this question, and didn't fixed the issue.
I'm using Firefox 55.0.3.

