[html5] r2090 - [] (0) Define onhashchange=''.

whatwg at whatwg.org whatwg at whatwg.org
Wed Aug 20 16:49:56 PDT 2008


Author: ianh
Date: 2008-08-20 16:49:54 -0700 (Wed, 20 Aug 2008)
New Revision: 2090

Modified:
   index
   source
Log:
[] (0) Define onhashchange=''.

Modified: index
===================================================================
--- index	2008-08-20 09:42:42 UTC (rev 2089)
+++ index	2008-08-20 23:49:54 UTC (rev 2090)
@@ -7749,6 +7749,7 @@
            attribute <span>EventListener</span> <a href="#ondrop" title=handler-ondrop>ondrop</a>;
            attribute <span>EventListener</span> <a href="#onerror" title=handler-onerror>onerror</a>;
            attribute <span>EventListener</span> <a href="#onfocus" title=handler-onfocus>onfocus</a>;
+           attribute <span>EventListener</span> <a href="#onhashchange" title=handler-onhashchange>onhashchange</a>;
            attribute <span>EventListener</span> <a href="#onkeydown" title=handler-onkeydown>onkeydown</a>;
            attribute <span>EventListener</span> <a href="#onkeypress" title=handler-onkeypress>onkeypress</a>;
            attribute <span>EventListener</span> <a href="#onkeyup" title=handler-onkeyup>onkeyup</a>;
@@ -7862,6 +7863,9 @@
 
    <dd><code title=handler-onfocus><a href="#onfocus">onfocus</a></code>
 
+   <dd><code title=handler-onhashchange><a
+    href="#onhashchange">onhashchange</a></code>
+
    <dd><code title=handler-onkeydown><a
     href="#onkeydown">onkeydown</a></code>
 
@@ -32079,6 +32083,7 @@
            attribute <span>EventListener</span> <a href="#ondrop" title=handler-ondrop>ondrop</a>;
            attribute <span>EventListener</span> <a href="#onerror" title=handler-onerror>onerror</a>;
            attribute <span>EventListener</span> <a href="#onfocus" title=handler-onfocus>onfocus</a>;
+           attribute <span>EventListener</span> <a href="#onhashchange" title=handler-onhashchange>onhashchange</a>;
            attribute <span>EventListener</span> <a href="#onkeydown" title=handler-onkeydown>onkeydown</a>;
            attribute <span>EventListener</span> <a href="#onkeypress" title=handler-onkeypress>onkeypress</a>;
            attribute <span>EventListener</span> <a href="#onkeyup" title=handler-onkeyup>onkeyup</a>;
@@ -33208,6 +33213,15 @@
     <p>Must be invoked whenever a <code title=event-focus>focus</code> event
      is targeted at or bubbles through the element.
 
+   <dt><dfn id=onhashchange
+    title=handler-onhashchange><code>onhashchange</code></dfn></dt>
+   <!-- new in html5 -->
+
+   <dd>
+    <p>Must be invoked whenever a <code
+     title=event-hashchange>hashchange</code> event is targeted at or bubbles
+     through the element.
+
    <dt><dfn id=onkeydown title=handler-onkeydown><code>onkeydown</code></dfn></dt>
    <!-- widely used -->
 
@@ -37171,10 +37185,10 @@
     <p>If the <i>specified entry</i> has a URL that differs from the <a
      href="#current1">current entry</a>'s only by its fragment identifier,
      and the two share the same <code>Document</code> object, then <a
-     href="#firing2">fire a simple event</a> with the name
-     <code>hashchanged</code> at <a href="#the-body1">the <code>body</code>
-     element</a>, and, if the new URL has a fragment identifier, <a
-     href="#scroll">scroll to the fragment identifier</a>.
+     href="#firing2">fire a simple event</a> with the name <code
+     title=event-hashchange>hashchange</code> at <a href="#the-body1">the
+     <code>body</code> element</a>, and, if the new URL has a fragment
+     identifier, <a href="#scroll">scroll to the fragment identifier</a>.
 
    <li>
     <p>User agents may also update other aspects of the document view when

Modified: source
===================================================================
--- source	2008-08-20 09:42:42 UTC (rev 2089)
+++ source	2008-08-20 23:49:54 UTC (rev 2090)
@@ -5653,6 +5653,7 @@
            attribute <span>EventListener</span> <span title="handler-ondrop">ondrop</span>;
            attribute <span>EventListener</span> <span title="handler-onerror">onerror</span>;
            attribute <span>EventListener</span> <span title="handler-onfocus">onfocus</span>;
+           attribute <span>EventListener</span> <span title="handler-onhashchange">onhashchange</span>;
            attribute <span>EventListener</span> <span title="handler-onkeydown">onkeydown</span>;
            attribute <span>EventListener</span> <span title="handler-onkeypress">onkeypress</span>;
            attribute <span>EventListener</span> <span title="handler-onkeyup">onkeyup</span>;
@@ -5726,6 +5727,7 @@
    <dd><code title="handler-ondrop">ondrop</code></dd>
    <dd><code title="handler-onerror">onerror</code></dd>
    <dd><code title="handler-onfocus">onfocus</code></dd>
+   <dd><code title="handler-onhashchange">onhashchange</code></dd>
    <dd><code title="handler-onkeydown">onkeydown</code></dd>
    <dd><code title="handler-onkeypress">onkeypress</code></dd>
    <dd><code title="handler-onkeyup">onkeyup</code></dd>
@@ -29308,6 +29310,7 @@
            attribute <span>EventListener</span> <span title="handler-ondrop">ondrop</span>;
            attribute <span>EventListener</span> <span title="handler-onerror">onerror</span>;
            attribute <span>EventListener</span> <span title="handler-onfocus">onfocus</span>;
+           attribute <span>EventListener</span> <span title="handler-onhashchange">onhashchange</span>;
            attribute <span>EventListener</span> <span title="handler-onkeydown">onkeydown</span>;
            attribute <span>EventListener</span> <span title="handler-onkeypress">onkeypress</span>;
            attribute <span>EventListener</span> <span title="handler-onkeyup">onkeyup</span>;
@@ -30480,6 +30483,12 @@
    title="event-focus">focus</code> event is targeted at or bubbles
    through the element.</p></dd>
 
+   <dt><dfn title="handler-onhashchange"><code>onhashchange</code></dfn></dt> <!-- new in html5 -->
+
+   <dd><p>Must be invoked whenever a <code
+   title="event-hashchange">hashchange</code> event is targeted at or bubbles
+   through the element.</p></dd>
+
    <dt><dfn title="handler-onkeydown"><code>onkeydown</code></dfn></dt> <!-- widely used -->
 
    <dd><p>Must be invoked whenever a <code
@@ -34577,13 +34586,14 @@
    title="activate the state object">activate that
    entry</span>.</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 <span>fire a simple event</span> with the name
-   <code>hashchanged</code> at <span>the <code>body</code>
-   element</span>, and, if the new URL has a fragment identifier,
-   <span>scroll to the fragment identifier</span>.</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
+   <span>fire a simple event</span> with the name <code
+   title="event-hashchange">hashchange</code> at <span>the
+   <code>body</code> element</span>, and, if the new URL has a
+   fragment identifier, <span>scroll to the fragment
+   identifier</span>.</p></li>
 
    <li><p>User agents may also update other aspects of the document
    view when the location changes in this way, for instance the scroll




More information about the Commit-Watchers mailing list