Image Map Issues with Gecko

Album Cover: The Black Album

"Young enough to know the right car to buy yet grown enough not to put rims on it."
Jay-Z / 30 Something

Posted on July 17, 2004 10:53 PM in Browsers
Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

Karsten Schramm emailed me today after stumbling upon a test case I made at the end of last year in an attempt to showcase what I felt was a bug in Mozilla's handling of valid image maps in XHTML. Karsten seems to believe that the behavior I identifed is a bug in the way Mozilla, or rather the Gecko rendering engine (since it's the same in Firefox), handles the valid code.

Karsten has since written up a bug on the matter, as detailed in a comment on my site. Apparently renaming your page's extension to .xhtml or forcing the application/xhtml+xml MIME type fixes the problem, but for some reason or another that doesn't quite sit well with me. If the W3C tells me my image map is valid XHTML Strict code, shouldn't Gecko work with it? Afterall, if I do what the Mozilla developers say I should do, I completely break the ability of Internet Explorer users to access my page.


No one has added any comments.

Post Comments

If you feel like commenting on the above item, use the form below. Your email address will be used for personal contact reasons only, and will not be shown on this website.


Email Address:



Check this box if you hate spam.