[Bug 817] Image map usemap attribute does not validate

http://www.w3.org/Bugs/Public/show_bug.cgi?id=817

ville.skytta@iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From ville.skytta@iki.fi  2004-07-04 05:46 -------
Don't trust Google, the validator is correct :)

In XHTML 1.1, usemap is defined as IDREF, and IDREFs cannot start with "#". 
http://www.w3.org/TR/REC-xml/#idref

If you want your image maps to work with mainstream browsers and your documents
to validate, use XHTML 1.0 (see also below).  It defines usemap as CDATA
(through &URI;), and you can happily use usemap="#foo" which, unlike the XHTML
1.1 version usemap="foo", works with most browsers.

XHTML 1.0 is the current de facto recommendation for HTML, by the way; there are
very few if any browsers out there that really support XHTML 1.1. 
http://www.w3.org/TR/html/



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

Received on Sunday, 4 July 2004 05:46:47 UTC