Closed
Bug 126424
Opened 23 years ago
Closed 23 years ago
id attribute of <map> tag is ignored
Categories
(Core :: XML, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: AlexNofftz, Assigned: hjtoi-bugzilla)
Details
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>
dup of bug 109445?
reassigning
Assignee: asa → heikki
Component: Viewer App → XML
QA Contact: asa → petersen
Comment 3•23 years ago
|
||
Are you serving the file with an XML MIME-type?
Reporter | ||
Comment 4•23 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•23 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
Closed: 23 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•