html5/spec Overview.html,1.1737,1.1738

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv9868

Modified Files:
	Overview.html 
Log Message:
usemap='#foo' no longer does case-insensitive matching against id=''. (credit: js) (whatwg r2567)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1737
retrieving revision 1.1738
diff -u -d -r1.1737 -r1.1738
--- Overview.html	24 Dec 2008 11:04:28 -0000	1.1737
+++ Overview.html	24 Dec 2008 11:10:24 -0000	1.1738
@@ -3136,15 +3136,20 @@
    string being parsed up to the end of that string.</li>
 
    <li><p>Return the first element of type <var title="">type</var>
-   that has an <code title=attr-id><a href=#the-id-attribute>id</a></code> or <code title="">name</code> attribute whose value is a <a href=#compatibility-caseless>compatibility
-   caseless</a> match for <var title="">s</var>.</li>
+   that has an <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute whose value
+   is a <a href=#case-sensitive>case-sensitive</a> match for <var title="">s</var> or
+   a <code title="">name</code> attribute whose value is a
+   <a href=#compatibility-caseless>compatibility caseless</a> match for <var title="">s</var>.</li>
+
    <!--
-   That's what IE does:
+   IE is also doing case-insensitive id="" matching.
+   Tests:
    http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cmap%20name%3D%22T%26eacute%3B%26%23x01F1%3B%26%23x2075%3B%22%3E%3Carea%20href%3D%22%2F%22%20shape%3Drect%20coords%3D0%2C0%2C200%2C200%3E%3C%2Fmap%3E%0A%3Cimg%20usemap%3D%22%23t%26Eacute%3BDZ5%22%20src%3Dimage%3E
    ...except that doesn't explain why this fails:
    http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cmap%20name%3D%22T%26eacute%3B%26%23x01F1%3B%26%23x2075%3B%26%23xFB01%3B%22%3E%3Carea%20href%3D%22%2F%22%20shape%3Drect%20coords%3D0%2C0%2C200%2C200%3E%3C%2Fmap%3E%0A%3Cimg%20usemap%3D%22%23t%26Eacute%3BDZ5F%26%23x0131%3B%26%23x0307%3B%22%20src%3Dimage%3E
    maybe they just don't know about combining dot above?
    -->
+
   </ol><h3 id=urls><span class=secno>2.5 </span>URLs</h3><p>This specification defines the term <a href=#url>URL</a>, and defines
   various algorithms for dealing with URLs, because for historical
   reasons the rules defined by the URI and IRI specifications are not

Received on Wednesday, 24 December 2008 11:10:37 UTC