Closed
Bug 406144
Opened 18 years ago
Closed 15 years ago
Using usemap and on an <img> will ignore the class usage
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: larstr, Unassigned)
References
()
Details
(Whiteboard: [CLOSEME 2010-07-30])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10
An image with usemap and class will behave differently in firefox than other browsers such as IE and Opera. If I remove the usemap setting, the behaviour in firefox will be correct.
The image will be shown in firefox with a blue frame around in firefox while the other browsers will use the class settings and not display this frame.
Reproducible: Always
Steps to Reproduce:
Here is the source code of the page that causes this error. Also see http://vmktree.org/usemap/ for a test web page of this bug:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test</title>
<style type="text/css">
<!--
imgclass:link {color: #d4d0c8; text-decoration: underline; }
imgclass:active {color: #d4d0c8; text-decoration: underline; }
imgclass:visited {color: #d4d0c8; text-decoration: underline; }
imgclass:hover {color: #d4d0c8; text-decoration: none; }
-->
</style>
</head>
<body bgcolor="#d5fdd5" text="#000000" vlink="#040008">
<img class="imgclass" src="201.291092512296.png" usemap="#esxvm" title="test" alt="test"/>
<map class="imgclass" name="esxvm" id="esxvm">
<area class="imgclass" href="?view=esxvm" shape="rect" coords="51,34,450.5,483" alt="bla" />
<area class="imgclass" href="?view=esxvm" shape="rect" coords="450,34,850,483" alt="bla" />
</map>
</body>
</html>
Actual Results:
Blue frame around picture
Expected Results:
No blue frame around picture
Comment 1•18 years ago
|
||
Tested in Windows
Firefox -> Has the blue frame
Opera -> No blue frame
Comment 2•15 years ago
|
||
This bug was originally reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.6 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 2010-07-30]
Version: unspecified → 2.0 Branch
Comment 3•15 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.8 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•