Closed Bug 262155 Opened 21 years ago Closed 21 years ago

xhtml attribute id is not properly recognized in element area using client side imagemaps

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 109445

People

(Reporter: bettlertho, Assigned: bugzilla)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040919 Firefox/0.10 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040919 Firefox/0.10 improper xhtml 1.1 <map name="mk"> Mozilla get's the imagemap correct like this --------------- proper xhtml 1.1 <map id="mk"> but not like this. Reproducible: Always Steps to Reproduce: use imagemaps in xhtml Actual Results: incompatibility with xhtml 1.1 w3c recommendation Expected Results: compatibility with xhtml 1.1 w3c recommendation w3c conformance bug
Unless the page you're trying to do this on is served as application/xhtml+xml, which I bet it's not, this is invalid. XHTML served as text/html is parsed as text/html, so HTML rules apply. Which means you need the name attribute.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
AFAIK Document Types as the one I use should be used to distinguish XHTML and HTML or whatelse, even encalypsed Markup. I use <<<<<<<<<<<<<< <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> >>>>>>>>>>>>>> Anyway, sending app/xml+xhtml works fine. Thanks for the instruction.
Status: RESOLVED → VERIFIED
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---
*** This bug has been marked as a duplicate of 109445 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.