Closed Bug 147784 Opened 23 years ago Closed 21 years ago

viewing message as "simple html" images should show the alt text

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Assigned: sspitzer)

Details

if a HTML mail includes a image and the image has set the ALT text, and you're viewing the message using "Simple HTML" the alt text should be shown. Currently the alt text is not shown. ala <img src="http://mozilla.org/images/mozilla-banner.gif" alt="mozilla"> 20020528
*** Bug 169646 has been marked as a duplicate of this bug. ***
Adding dependency. See also bug 180991.
Depends on: 212177
See also bug 60825.
I'm looking at this after some discussion of Simple HTML in the newsgroups. I believe that this bug was predicated on the assumption that Simple HTML suppresses images. I thought in fact that was the case, but I am now seeing embedded images displayed with Simple HTML. And altho Simple apparently suppresses remote image loads on its own, I am seeing the 'alt' text displayed correctly for those images. The behavior I'm seeing with 1.6 Final and 1.7a-0119 - As Original HTML shows both embedded and remote images inline; if remote image loading is turned off, then an empty space appears (will be sized if the images have a size) - As Simple HTML shows embedded images inline and the 'alt' text for remote images (if 'alt' is empty, there is nothing displayed; if 'alt' is missing, a broken-image icon is shown) - As Plain Text shows neither 'alt' nor image for both embedded and remote images Incidentally, if you change the preference mailnews.display.html_sanitizer.allowed_tags to take the 'src' out of the img() tag's allowed attributes: img(alt,title,longdesc) then images will be suppressed entirely with Simple, and the 'alt' tag will be shown (if possible) whether the image is remote or embedded. Henrik Gemal, can you verify that this bug is now WorksForMe?
No response from reporter; =>WFM Incidentally, bug 212177 is about the failure to display 'alt' for Plain Text conversion -- which is a problem in the browser as well as the mail program.
Status: NEW → RESOLVED
Closed: 21 years ago
No longer depends on: 212177
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.