|
256 | 256 |
|
257 | 257 | <header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
|
258 | 258 | <hgroup><h1 class=allcaps>HTML</h1>
|
259 |
| - <h2 class="no-num no-toc">Living Standard — Last Updated 29 August 2013</h2> |
| 259 | + <h2 class="no-num no-toc">Living Standard — Last Updated 31 August 2013</h2> |
260 | 260 | </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
|
261 | 261 | <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
|
262 | 262 | <dt>Multiple-page version:</dt>
|
@@ -68652,6 +68652,15 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BU
|
68652 | 68652 |
|
68653 | 68653 | <li><p>Set the <code><a href=#document>Document</a></code>'s <a href=#page-showing>page showing</a> flag to true.</li>
|
68654 | 68654 |
|
| 68655 | + <li> |
| 68656 | + |
| 68657 | + <p>Run any <dfn id=session-history-document-visibility-change-steps>session history document visibility change steps</dfn> for <code><a href=#document>Document</a></code> that |
| 68658 | + are defined by <a href=#other-applicable-specifications>other applicable specifications</a>.</p> |
| 68659 | + |
| 68660 | + <p class=note>This is specifically intended for use by the Page Visibility specification. <a href=#refsPAGEVIS>[PAGEVIS]</a></p> |
| 68661 | + |
| 68662 | + </li> |
| 68663 | + |
68655 | 68664 | <li><p><a href=#concept-event-fire title=concept-event-fire>Fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-pageshow><a href=#event-pageshow>pageshow</a></code> at the <code><a href=#window>Window</a></code> object of that
|
68656 | 68665 | <code><a href=#document>Document</a></code>, but with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the
|
68657 | 68666 | <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code> object),
|
@@ -68832,10 +68841,24 @@ dictionary <dfn id=pagetransitioneventinit>PageTransitionEventInit</dfn> : <a hr
|
68832 | 68841 |
|
68833 | 68842 | <dd>
|
68834 | 68843 |
|
68835 |
| - <p>Returns false if the page is newly being loaded (and the <code title=event-load>load</code> |
68836 |
| - event will fire). Otherwise, returns true.</p> |
| 68844 | + <p>For the <code title=event-pageshow><a href=#event-pageshow>pageshow</a></code> event, returns false if the page is |
| 68845 | + newly being loaded (and the <code title=event-load>load</code> event will fire). Otherwise, |
| 68846 | + returns true.</p> |
68837 | 68847 |
|
68838 |
| - </dd> |
| 68848 | + <p>For the <code title=event-pagehide><a href=#event-pagehide>pagehide</a></code> event, returns false if the page is |
| 68849 | + going away for the last time. Otherwise, returns true, meaning that (if nothing conspires to |
| 68850 | + make the page unsalvageable) the page might be reused if the user navigates back to this |
| 68851 | + page.</p> |
| 68852 | + |
| 68853 | + <p>Things that can cause the page to be unsalvageable include:</p> |
| 68854 | + |
| 68855 | + <ul class=brief><li><code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> |
| 68856 | + <li>Listening for <code title=event-beforeunload>beforeunload</code> events |
| 68857 | + <li>Listening for <code title=event-unload>unload</code> events |
| 68858 | + <li>Having <code><a href=#the-iframe-element>iframe</a></code>s that are not salvageable |
| 68859 | + <li>Active <code><a href=#websocket>WebSocket</a></code> objects |
| 68860 | + <li><a href=#abort-a-document title="abort a document">Aborting a <code>Document</code></a> |
| 68861 | + </ul></dd> |
68839 | 68862 |
|
68840 | 68863 | </dl><div class=impl>
|
68841 | 68864 |
|
@@ -68949,7 +68972,8 @@ dictionary <dfn id=pagetransitioneventinit>PageTransitionEventInit</dfn> : <a hr
|
68949 | 68972 | <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code>
|
68950 | 68973 | set to the <code><a href=#window>Window</a></code> object), using the <code><a href=#pagetransitionevent>PageTransitionEvent</a></code> interface,
|
68951 | 68974 | with the <code title=dom-PageTransitionEvent-persisted><a href=#dom-pagetransitionevent-persisted>persisted</a></code> attribute initialized
|
68952 |
| - to true. This event must not bubble, must not be cancelable, and has no default action.</li> |
| 68975 | + to true if the <code><a href=#document>Document</a></code> object's <i title=concept-document-salvageable><a href=#concept-document-salvageable>salvageable</a></i> state is true, and false otherwise. This |
| 68976 | + event must not bubble, must not be cancelable, and has no default action.</li> |
68953 | 68977 |
|
68954 | 68978 | <li>
|
68955 | 68979 |
|
@@ -86620,7 +86644,7 @@ dictionary <dfn id=storageeventinit>StorageEventInit</dfn> : <a href=#eventinit>
|
86620 | 86644 | <dd><p>All other elements found while parsing an HTML document.</dd>
|
86621 | 86645 |
|
86622 | 86646 | </dl><p>The <a href=#stack-of-open-elements>stack of open elements</a> is said to <dfn id=has-an-element-in-the-specific-scope title="has an element in the specific
|
86623 |
| - scope">have an element in a specific scope</dfn> consisting of a list of element types <var title="">list</var> when the following algorithm terminates in a match state:</p> |
| 86647 | + scope">have an element <var title="">target node</var> in a specific scope</dfn> consisting of a list of element types <var title="">list</var> when the following algorithm terminates in a match state:</p> |
86624 | 86648 |
|
86625 | 86649 | <ol><li><p>Initialize <var title="">node</var> to be the <a href=#current-node>current node</a> (the bottommost
|
86626 | 86650 | node of the stack).</li>
|
|
0 commit comments