Closed
Bug 245717
Opened 22 years ago
Closed 21 years ago
XHTML parsing: ID-attribute is not accepted in an imagemap, Attribute "name", which is deprecated in XHTML 1.0 must be used, that Firefox can display the Page correctly
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 109445
People
(Reporter: info, Assigned: bugs)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.6) Gecko/20040207 Firefox/0.8
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.6) Gecko/20040207 Firefox/0.8
In XHTML the attribute name is deprecated. The attribute id must be used
instead. In an imagemap Firefox can handle the links correctly, if the
map-Element has the attribute name. I have an example on:
http://www.maroufi.net/firefox-bug/imagemap.html
The code is:
<img src="navigation.jpg" width="640" height="480" alt="Hochzeitsfeier"
usemap="#map" />
<map id="map">
if I use the code:
<img src="navigation.jpg" width="640" height="480" alt="Hochzeitsfeier"
usemap="#map" />
<map name="map" id="map">
Firefox can handle the links correctly.
Sorry for my bad english. I'm german.
Reproducible: Always
Steps to Reproduce:
1. Build a Website with an imagemap
2. Use the id attribute instead the name attribute in the map-element.
Actual Results:
Firefox displays a hand-symbol on the whole Image. Links are not clickable.
Expected Results:
The hand-symbol must appear only where links are defined. Links must be clickable.
Comment 1•22 years ago
|
||
Your page is served as text/html, so the parser treats the page as HTML. So a
name attribute is still necessary.
*** This bug has been marked as a duplicate of 193569 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 2•22 years ago
|
||
Verified. The patch doesn't conform to Appendix C of the XHTML specification,
so it's not allowed to be sent as text/html to start with....
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Status: VERIFIED → UNCONFIRMED
Resolution: DUPLICATE → ---
Comment 3•21 years ago
|
||
*** This bug has been marked as a duplicate of 109445 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago → 21 years ago
Resolution: --- → DUPLICATE
Comment 4•20 years ago
|
||
--> Websites :: www.mozilla.com so timeless can close out Firefox :: Product Site.
Component: Product Site → www.mozilla.com
Product: Firefox → Websites
Comment 5•20 years ago
|
||
-> Firefox::General (939393)
Component: www.mozilla.com → General
Product: Websites → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•