Forum Moderators: open
Virtually any time there's an image which won't load, whether it has alt text or not, it will not show a placeholder (chisled border, with transparent center, and a little broken image icon too I think)
I've tried using image tag with a fake path on my local machine both with and without alt texts, and also I've visited a few websites where when the image is broken, it's just totally collapsed and invisible (when there's no alt text).
YES I tried long ago changing the about:config placeholder option. It does nothing!
Safe mode does not fix the problem! (safe mode disables all extensions, among other things)
I'm running FF version 1.5.0.12 right now, and winxpsp2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
gecko will never display placeholders for images. Even if you specify height and width attributes, the space used when an image can't be loaded is always reduced to 0 pixel width (you clearly see it if you add a css border to images), unless the IMG tag has an empty ALT attribute. If ALT is not empty, the size is also ignored and it looks like if the ALT text is an inline text.
In FF2 (with and without 4.01 strict dtd) it's the same or v similar
error in path/filename
+ 4.01 strict dtd
+ no alt text
+ width and height declared in html
+ css img {border:none;}
----------------
= :( no visual 'warning'
----------------
BUT
error in path/filename
+ 4.01 strict dtd
+ no alt text
+ width and height declared in html
+ css img {border: 1px solid #FF0000;}
----------------
= :) big red box at 'right' height and width
----------------
error in path/filename
+ 4.01 strict dtd
+ no alt text
+ NO width and height declared in html
+ css img {border: 1px solid #FF0000;}
----------------
= :) small red box
----------------
And anyhoo... it ain't broken... ALL images should have alt text