W3C home > Mailing lists > Public > public-html-commits@w3.org > February 2010

html5/spec Overview.html,1.3759,1.3760

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 14 Feb 2010 03:27:02 +0000
To: public-html-commits@w3.org
Message-Id: <E1NgV8Q-0006qK-Eq@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv26198

Modified Files:
	Overview.html 
Log Message:
Define that when you discard a document, it performs the cleanup steps. (whatwg r4709)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3759
retrieving revision 1.3760
diff -u -d -r1.3759 -r1.3760
--- Overview.html	14 Feb 2010 03:24:05 -0000	1.3759
+++ Overview.html	14 Feb 2010 03:26:58 -0000	1.3760
@@ -39650,16 +39650,26 @@
   objects.</p>
 
   <p>When a <a href="#browsing-context">browsing context</a> is to <dfn id="discard-a-document">discard a
-  <code>Document</code></dfn>, that means that it is to lose the
-  strong reference from the <code>Document</code>'s <a href="#browsing-context">browsing
-  context</a> to the <code>Document</code>, that any <a href="#concept-task" title="concept-task">tasks</a> associated with the
-  <code>Document</code> in any <a href="#task-source">task source</a> must be
-  removed without being run, and that all the <a href="#child-browsing-context" title="child
-  browsing context">child browsing contexts</a> of the
-  <code>Document</code> must also be <a href="#a-browsing-context-is-discarded" title="a browsing context
-  is discarded">discarded</a>.</p>
+  <code>Document</code></dfn>, the user agent must run the following
+  steps:</p>
 
-  <p class="note">The <a href="#browsing-context">browsing context</a>'s <a href="#default-view">default
+  <ol><li><p>Run any <a href="#unloading-document-cleanup-steps">unloading document cleanup steps</a> for
+   the <code>Document</code> that are defined by this specification or
+   any other relevant specifications.</li>
+
+   <li><p>Remove any <a href="#concept-task" title="concept-task">tasks</a>
+   associated with the <code>Document</code> in any <a href="#task-source">task
+   source</a>, without running those tasks.</li>
+
+   <li><p><a href="#a-browsing-context-is-discarded" title="a browsing context is discarded">Discard</a>
+   all the <a href="#child-browsing-context" title="child browsing context">child browsing
+   contexts</a> of the <code>Document</code>.</li>
+
+   <li><p>Lose the strong reference from the <code>Document</code>'s
+   <a href="#browsing-context">browsing context</a> to the
+   <code>Document</code>.</li>
+
+  </ol><p class="note">The <a href="#browsing-context">browsing context</a>'s <a href="#default-view">default
   view</a>'s <code><a href="#window">Window</a></code> object <a href="#implied-strong-reference" title="implied strong
   reference">has a strong reference</a> to its
   <code>Document</code> object through the <code title="dom-document">document</code> attribute of the
Received on Sunday, 14 February 2010 03:27:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 14 February 2010 03:27:04 GMT