[html5] r2567 - [giow] (2) usemap='#foo' no longer does case-insensitive matching against id=''. [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Dec 24 03:10:21 PST 2008
Author: ianh
Date: 2008-12-24 03:10:20 -0800 (Wed, 24 Dec 2008)
New Revision: 2567
Modified:
index
source
Log:
[giow] (2) usemap='#foo' no longer does case-insensitive matching against id=''. (credit: js)
Modified: index
===================================================================
--- index 2008-12-24 11:04:23 UTC (rev 2566)
+++ index 2008-12-24 11:10:20 UTC (rev 2567)
@@ -3757,15 +3757,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
Modified: source
===================================================================
--- source 2008-12-24 11:04:23 UTC (rev 2566)
+++ source 2008-12-24 11:10:20 UTC (rev 2567)
@@ -3307,16 +3307,21 @@
string being parsed up to the end of that string.</p></li>
<li><p>Return the first element of type <var title="">type</var>
- that has an <code title="attr-id">id</code> or <code
- title="">name</code> attribute whose value is a <span>compatibility
- caseless</span> match for <var title="">s</var>.</p></li>
+ that has an <code title="attr-id">id</code> attribute whose value
+ is a <span>case-sensitive</span> match for <var title="">s</var> or
+ a <code title="">name</code> attribute whose value is a
+ <span>compatibility caseless</span> match for <var
+ title="">s</var>.</p></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>
More information about the Commit-Watchers
mailing list