id attribute of <map> tag is ignored

VERIFIED INVALID

Status

()

--
minor
VERIFIED INVALID
17 years ago
17 years ago

People

(Reporter: AlexNofftz, Assigned: hjtoi-bugzilla)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
If you create a image map valid to XHTML 1.1 (or XHTML 1.0 Strict), the map isn't useable in Mozilla 
since it doesn't "find" the corresponding <map> tag. You can include a name attribute into the 
<map> tag, but this is no more valid in this HTML version:

correct example that doesn't work in 
Mozilla:

  <img usemap="mapname" ... />
  ...
  <map id="mapname">
    <area ... />
    ...
  
</map>

this will work, but fails W3C's HTML Validator:

  <img usemap="mapname" ... />
  
...
  <map id="mapname" name="mapname">
    <area ... />
    ...
  </map>

Comment 1

17 years ago
dup of bug 109445?

Comment 2

17 years ago
reassigning
Assignee: asa → heikki
Component: Viewer App → XML
QA Contact: asa → petersen
Are you serving the file with an XML MIME-type?
(Reporter)

Comment 4

17 years ago
I try to change it on http://www.dorgon.de/, and it seems to solve the problem,
but what is going on now on this site now (-> eMail)?

Comment 5

17 years ago
Mozilla ignores the id attribute on pages served as text/html, which is the
correct behavior (see bug 109445). I see that you have configured www.dorgon.de
to send application/xml to Mozilla and text/html to other browsers, which is the
only way to make a page with image maps to validate as XHTML 1.1 and be usable
in both Mozilla and IE. I'm closing this bug as INVALID.

> what is going on now on this site now (-> eMail)?

What do you mean?
Status: UNCONFIRMED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → INVALID

Comment 6

17 years ago
Marking VERIFIED INVALID.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.