All major browsers except FF render images with invalid src attribute within it's dimensions as specified by CSS or by width / height attributes. Only FF will render the alt attribute as it were text node, ignoring dimensions, which breaks layout in many cases.
Is there a way to force FF to render image within specified dimensions?
display:inline-block
to the image css? Perhaps when FF converts it to a text node it becomes functionally the same as aspan
and ignoreswidth
andheight
css? – Haydon