[html5] r5489 - [giow] (1) Only compare fragments for onhashchange, to make this work better wit [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sat Sep 25 10:59:05 PDT 2010
Author: ianh
Date: 2010-09-25 10:59:04 -0700 (Sat, 25 Sep 2010)
New Revision: 5489
Modified:
complete.html
index
source
Log:
[giow] (1) Only compare fragments for onhashchange, to make this work better with pushState(). Also, define it as case-sensitive.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10137
Modified: complete.html
===================================================================
--- complete.html 2010-09-25 17:50:40 UTC (rev 5488)
+++ complete.html 2010-09-25 17:59:04 UTC (rev 5489)
@@ -61596,13 +61596,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
Modified: index
===================================================================
--- index 2010-09-25 17:50:40 UTC (rev 5488)
+++ index 2010-09-25 17:59:04 UTC (rev 5489)
@@ -61576,13 +61576,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
Modified: source
===================================================================
--- source 2010-09-25 17:50:40 UTC (rev 5488)
+++ source 2010-09-25 17:59:04 UTC (rev 5489)
@@ -69612,14 +69612,14 @@
<li><p>Set <span>the document's current address</span> to the URL
of the <i>specified entry</i>.</p></li>
- <li><p>If the <i>specified entry</i> has a URL that differs from
- the <span>current entry</span>'s only by its fragment identifier,
- and the two share the same <code>Document</code> object, then let
- <var title="">hash changed</var> be true, and let <var title="">old
+ <li><p>If the <i>specified entry</i> has a URL whose fragment
+ identifier differs from that of the <span>current entry</span>'s
+ when compared in a <span>case-sensitive</span> manner, and the two
+ share the same <code>Document</code> object, then let <var
+ title="">hash changed</var> be true, and let <var title="">old
URL</var> be the URL of the <span>current entry</span> and <var
- title="">new URL</var> be the URL of the <i>specified
- entry</i>. Otherwise, let <var title="">hash changed</var> be
- false.</p></li>
+ title="">new URL</var> be the URL of the <i>specified entry</i>.
+ Otherwise, let <var title="">hash changed</var> be false.</p></li>
<li><p>If the traversal was initiated with <dfn>replacement
enabled</dfn>, remove the entry immediately before the
More information about the Commit-Watchers
mailing list