hixie: Only compare fragments for onhashchange, to make this work better with pushState(). Also, define it as case-sensitive. (whatwg r5489)

hixie: Only compare fragments for onhashchange, to make this work better
with pushState(). Also, define it as case-sensitive. (whatwg r5489)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4379&r2=1.4380&f=h
http://html5.org/tools/web-apps-tracker?from=5488&to=5489

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4379
retrieving revision 1.4380
diff -u -d -r1.4379 -r1.4380
--- Overview.html 25 Sep 2010 17:50:46 -0000 1.4379
+++ Overview.html 25 Sep 2010 17:59:08 -0000 1.4380
@@ -44524,13 +44524,12 @@
    <li><p>Set <a href="#the-document-s-current-address">the document's current address</a> to the URL
    of the <i>specified entry</i>.</li>
 
-   <li><p>If the <i>specified entry</i> has a URL that differs from
-   the <a href="#current-entry">current entry</a>'s only by its fragment identifier,
-   and the two share the same <code><a href="#document">Document</a></code> object, then let
-   <var title="">hash changed</var> be true, and let <var title="">old
-   URL</var> be the URL of the <a href="#current-entry">current entry</a> and <var title="">new URL</var> be the URL of the <i>specified
-   entry</i>. Otherwise, let <var title="">hash changed</var> be
-   false.</li>
+   <li><p>If the <i>specified entry</i> has a URL whose fragment
+   identifier differs from that of the <a href="#current-entry">current entry</a>'s
+   when compared in a <a href="#case-sensitive">case-sensitive</a> manner, and the two
+   share the same <code><a href="#document">Document</a></code> object, then let <var title="">hash changed</var> be true, and let <var title="">old
+   URL</var> be the URL of the <a href="#current-entry">current entry</a> and <var title="">new URL</var> be the URL of the <i>specified entry</i>.
+   Otherwise, let <var title="">hash changed</var> be false.</li>
 
    <li><p>If the traversal was initiated with <dfn id="replacement-enabled">replacement
    enabled</dfn>, remove the entry immediately before the

Received on Saturday, 25 September 2010 17:59:50 UTC