W3C home > Mailing lists > Public > public-html-diffs@w3.org > December 2008

spec/Overview.html 1.1738 2567 usemap='#foo' no longer does case-insens

From: poot <cvsmail@w3.org>
Date: Wed, 24 Dec 2008 20:13:06 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20081224111306.E32582BC17@toro.w3.mag.keio.ac.jp>

usemap='#foo' no longer does case-insensitive matching against id=''.
(credit: js) (whatwg r2567)

2.5 URLs
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1738.html#urls
rules for parsing a hash-name reference
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1738.html#rules-for-parsing-a-hash-name-reference

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1737&r2=1.1738&f=h
http://html5.org/tools/web-apps-tracker?from=2566&to=2567

===================================================================
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:13:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:57 GMT