W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2009

html5/spec Overview.html,1.3376,1.3377

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 21 Oct 2009 06:08:00 +0000
To: public-html-commits@w3.org
Message-Id: <E1N0UMa-0001YE-77@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv5917

Modified Files:
	Overview.html 
Log Message:
Add pageshow and pagehide events. (whatwg r4231)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3376
retrieving revision 1.3377
diff -u -d -r1.3376 -r1.3377
--- Overview.html	21 Oct 2009 05:43:48 -0000	1.3376
+++ Overview.html	21 Oct 2009 06:07:56 -0000	1.3377
@@ -11562,6 +11562,8 @@
    <dd><code title="handler-window-onmessage"><a href="#handler-window-onmessage">onmessage</a></code></dd>
    <dd><code title="handler-window-onoffline"><a href="#handler-window-onoffline">onoffline</a></code></dd>
    <dd><code title="handler-window-ononline"><a href="#handler-window-ononline">ononline</a></code></dd>
+   <dd><code title="handler-window-onpagehide"><a href="#handler-window-onpagehide">onpagehide</a></code></dd>
+   <dd><code title="handler-window-onpageshow"><a href="#handler-window-onpageshow">onpageshow</a></code></dd>
    <dd><code title="handler-window-onpopstate"><a href="#handler-window-onpopstate">onpopstate</a></code></dd>
    <dd><code title="handler-window-onredo"><a href="#handler-window-onredo">onredo</a></code></dd>
    <dd><code title="handler-window-onresize"><a href="#handler-window-onresize">onresize</a></code></dd>
@@ -11583,6 +11585,8 @@
            attribute <a href="#function">Function</a> <a href="#handler-window-onoffline" title="handler-window-onoffline">onoffline</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-ononline" title="handler-window-ononline">ononline</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-onpopstate" title="handler-window-onpopstate">onpopstate</a>;
+           attribute <a href="#function">Function</a> <a href="#handler-window-onpagehide" title="handler-window-onpagehide">onpagehide</a>;
+           attribute <a href="#function">Function</a> <a href="#handler-window-onpageshow" title="handler-window-onpageshow">onpageshow</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-onredo" title="handler-window-onredo">onredo</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-onresize" title="handler-window-onresize">onresize</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-onstorage" title="handler-window-onstorage">onstorage</a>;
@@ -41593,6 +41597,8 @@
            attribute <a href="#function">Function</a> <a href="#handler-onpause" title="handler-onpause">onpause</a>;
            attribute <a href="#function">Function</a> <a href="#handler-onplay" title="handler-onplay">onplay</a>;
            attribute <a href="#function">Function</a> <a href="#handler-onplaying" title="handler-onplaying">onplaying</a>;
+           attribute <a href="#function">Function</a> <a href="#handler-window-onpagehide" title="handler-window-onpagehide">onpagehide</a>;
+           attribute <a href="#function">Function</a> <a href="#handler-window-onpageshow" title="handler-window-onpageshow">onpageshow</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-onpopstate" title="handler-window-onpopstate">onpopstate</a>;
            attribute <a href="#function">Function</a> <a href="#handler-onprogress" title="handler-onprogress">onprogress</a>;
            attribute <a href="#function">Function</a> <a href="#handler-onratechange" title="handler-onratechange">onratechange</a>;
@@ -43476,6 +43482,8 @@
     <tr><td><dfn id="handler-window-onmessage" title="handler-window-onmessage"><code>onmessage</code></dfn> <td> <code title="event-message"><a href="#event-message">message</a></code> <!-- new for postMessage -->
     <tr><td><dfn id="handler-window-onoffline" title="handler-window-onoffline"><code>onoffline</code></dfn> <td> <code title="event-offline"><a href="#event-offline">offline</a></code> <!-- new -->
     <tr><td><dfn id="handler-window-ononline" title="handler-window-ononline"><code>ononline</code></dfn> <td> <code title="event-online"><a href="#event-online">online</a></code> <!-- new -->
+    <tr><td><dfn id="handler-window-onpagehide" title="handler-window-onpagehide"><code>onpagehide</code></dfn> <td> <code title="event-pagehide">pagehide</code> <!-- new -->
+    <tr><td><dfn id="handler-window-onpageshow" title="handler-window-onpageshow"><code>onpageshow</code></dfn> <td> <code title="event-pageshow">pageshow</code> <!-- new -->
     <tr><td><dfn id="handler-window-onpopstate" title="handler-window-onpopstate"><code>onpopstate</code></dfn> <td> <code title="event-popstate"><a href="#event-popstate">popstate</a></code> <!-- new -->
     <tr><td><dfn id="handler-window-onredo" title="handler-window-onredo"><code>onredo</code></dfn> <td> <code title="event-redo"><a href="#event-redo">redo</a></code> <!-- new -->
     <tr><td><dfn id="handler-window-onresize" title="handler-window-onresize"><code>onresize</code></dfn> <td> <code title="event-resize">resize</code> <!-- widely used --> <!-- [CSSOM] -->
@@ -48062,6 +48070,12 @@
      <a href="#resulting-autocompletion-state">resulting autocompletion state</a> is <i title="">off</i>, invoke the <a href="#concept-form-reset-control" title="concept-form-reset-control">reset algorithm</a> of each
      of those elements.</li>
 
+     <li><p>If the the <a href="#current-document-readiness">current document readiness</a> of the
+     <i>specified entry</i>'s <code>Document</code> is "complete",
+     <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple event</a>
+     named <code title="event-pageshow">pageshow</code> at that
+     <code>Document</code>'s <code><a href="#window">Window</a></code> object.</li>
+
     </ol></li>
 
    <li><p>Set <a href="#the-document-s-current-address">the document's current address</a> to the URL
@@ -48140,7 +48154,10 @@
   whether the <code>Document</code> object is going to be
   re-used. (This is set by the <code title="dom-document-open"><a href="#dom-document-open">document.open()</a></code> method.)</p>
 
-  <ol><li><p><a href="#fire-a-simple-event">Fire a simple event</a> named <code title="event-unload">unload</code> at the <code>Document</code>'s
+  <ol><li><p><a href="#fire-a-simple-event">Fire a simple event</a> named <code title="event-pagehide">pagehide</code> at the
+   <code>Document</code>'s <code><a href="#window">Window</a></code> object.</li>
+
+   <li><p><a href="#fire-a-simple-event">Fire a simple event</a> named <code title="event-unload">unload</code> at the <code>Document</code>'s
    <code><a href="#window">Window</a></code> object.</li>
 
    <li><p>If any event listeners were triggered by the previous step,
@@ -60930,6 +60947,11 @@
    <code>Document</code> object (and the <code title="dom-event-currentTarget">currentTarget</code> set to the
    <code><a href="#window">Window</a></code> object).</li>
 
+   <li><p>If the <code>Document</code> is in a <a href="#browsing-context">browsing
+   context</a>, then <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a
+   simple event</a> named <code title="event-pageshow">pageshow</code> at the
+   <code>Document</code>'s <code><a href="#window">Window</a></code> object.</li>
+
    <li><p>If the <code>Document</code> has a <a href="#pending-state-object">pending state
    object</a>, then <a href="#queue-a-task">queue a task</a> to fire a <code title="event-popstate"><a href="#event-popstate">popstate</a></code> event in no namespace on the
    <code>Document</code>'s <code><a href="#window">Window</a></code> object using the
@@ -66854,6 +66876,8 @@
            attribute <a href="#function">Function</a> <a href="#handler-window-onmessage" title="handler-window-onmessage">onmessage</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-onoffline" title="handler-window-onoffline">onoffline</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-ononline" title="handler-window-ononline">ononline</a>;
+           attribute <a href="#function">Function</a> <a href="#handler-window-onpagehide" title="handler-window-onpagehide">onpagehide</a>;
+           attribute <a href="#function">Function</a> <a href="#handler-window-onpageshow" title="handler-window-onpageshow">onpageshow</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-onpopstate" title="handler-window-onpopstate">onpopstate</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-onredo" title="handler-window-onredo">onredo</a>;
            attribute <a href="#function">Function</a> <a href="#handler-window-onresize" title="handler-window-onresize">onresize</a>;
@@ -66883,6 +66907,8 @@
    <li><code title="handler-window-onmessage"><a href="#handler-window-onmessage">onmessage</a></code></li>
    <li><code title="handler-window-onoffline"><a href="#handler-window-onoffline">onoffline</a></code></li>
    <li><code title="handler-window-ononline"><a href="#handler-window-ononline">ononline</a></code></li>
+   <li><code title="handler-window-onpagehide"><a href="#handler-window-onpagehide">onpagehide</a></code></li>
+   <li><code title="handler-window-onpagehide"><a href="#handler-window-onpagehide">onpagehide</a></code></li>
    <li><code title="handler-window-onpopstate"><a href="#handler-window-onpopstate">onpopstate</a></code></li>
    <li><code title="handler-window-onredo"><a href="#handler-window-onredo">onredo</a></code></li>
    <li><code title="handler-window-onresize"><a href="#handler-window-onresize">onresize</a></code></li>
@@ -68219,6 +68245,8 @@
          <code title="handler-window-onmessage"><a href="#handler-window-onmessage">onmessage</a></code>;
          <code title="handler-window-onoffline"><a href="#handler-window-onoffline">onoffline</a></code>;
          <code title="handler-window-ononline"><a href="#handler-window-ononline">ononline</a></code>;
+         <code title="handler-window-onpagehide"><a href="#handler-window-onpagehide">onpagehide</a></code>;
+         <code title="handler-window-onpageshow"><a href="#handler-window-onpageshow">onpageshow</a></code>;
          <code title="handler-window-onpopstate"><a href="#handler-window-onpopstate">onpopstate</a></code>;
          <code title="handler-window-onredo"><a href="#handler-window-onredo">onredo</a></code>;
          <code title="handler-window-onresize"><a href="#handler-window-onresize">onresize</a></code>;
@@ -70041,6 +70069,16 @@
      <td> <code title="event-media-playing"><a href="#event-media-playing">playing</a></code> event handler
      <td> <a href="#event-handler-content-attributes" title="event handler content attributes">Event handler content attribute</a>
 
+    <tr><th> <code title="">onpagehide</code>
+     <td> <code title="handler-window-onpagehide"><a href="#handler-window-onpagehide">body</a></code>
+     <td> <code title="event-pagehide">pagehide</code> event handler for <code><a href="#window">Window</a></code> object
+     <td> <a href="#event-handler-content-attributes" title="event handler content attributes">Event handler content attribute</a>
+
+    <tr><th> <code title="">onpageshow</code>
+     <td> <code title="handler-window-onpageshow"><a href="#handler-window-onpageshow">body</a></code>
+     <td> <code title="event-pageshow">pageshow</code> event handler for <code><a href="#window">Window</a></code> object
+     <td> <a href="#event-handler-content-attributes" title="event handler content attributes">Event handler content attribute</a>
+
     <tr><th> <code title="">onpopstate</code>
      <td> <code title="handler-window-onpopstate"><a href="#handler-window-onpopstate">body</a></code>
      <td> <code title="event-popstate"><a href="#event-popstate">popstate</a></code> event handler for <code><a href="#window">Window</a></code> object
@@ -70531,6 +70569,14 @@
      <td> <code>Event</code>
      <td> Fired at the <code><a href="#window">Window</a></code> when the network connections returns
 
+    <tr><td> <code title="event-pagehide">pagehide</code>
+     <td> <code>Event</code>
+     <td> Fired at the <code><a href="#window">Window</a></code> when the page's entry in the <a href="#session-history">session history</a> stops being the <a href="#current-entry">current entry</a>
+
+    <tr><td> <code title="event-pageshow">pageshow</code>
+     <td> <code>Event</code>
+     <td> Fired at the <code><a href="#window">Window</a></code> when the page's entry in the <a href="#session-history">session history</a> becomes the <a href="#current-entry">current entry</a>
+
     <tr><td> <code title="event-popstate"><a href="#event-popstate">popstate</a></code>
      <td> <code><a href="#popstateevent">PopStateEvent</a></code>
      <td> Fired at the <code><a href="#window">Window</a></code> when the user navigates the <a href="#session-history">session history</a>
Received on Wednesday, 21 October 2009 06:08:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 October 2009 06:08:10 GMT