[html5] r1951 - [] (0) Define window.top

whatwg at whatwg.org whatwg at whatwg.org
Tue Jul 29 18:27:08 PDT 2008


Author: ianh
Date: 2008-07-29 18:27:07 -0700 (Tue, 29 Jul 2008)
New Revision: 1951

Modified:
   index
   source
Log:
[] (0) Define window.top

Modified: index
===================================================================
--- index	2008-07-29 21:53:34 UTC (rev 1950)
+++ index	2008-07-30 01:27:07 UTC (rev 1951)
@@ -24,7 +24,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 29 July
+   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 30 July
     2008</h2>
 
    <p>You can take part in this work. <a
@@ -30814,6 +30814,14 @@
    a <code title=attr-iframe-seamless><a href="#seamless">seamless</a></code>
    attribute.
 
+  <p>The <dfn id=top0 title=dom-top><code>top</code></dfn> DOM attribute on
+   the <code><a href="#window">Window</a></code> object of a <a
+   href="#browsing1">browsing context</a> <var title="">b</var> must return
+   the <code><a href="#window">Window</a></code> object of its <a
+   href="#top-level">top-level browsing context</a> (which would be its own
+   <code><a href="#window">Window</a></code> object if it was a <a
+   href="#top-level">top-level browsing context</a> itself).
+
   <p>The <dfn id=parent0 title=dom-parent><code>parent</code></dfn> DOM
    attribute on the <code><a href="#window">Window</a></code> object of a <a
    href="#browsing1">browsing context</a> <var title="">b</var> must return
@@ -31089,6 +31097,7 @@
   readonly attribute <a href="#window">Window</a> <a href="#frames" title=dom-frames>frames</a>;
   readonly attribute unsigned long <a href="#length7" title=dom-length>length</a>;
   [IndexGetter] <a href="#window">Window</a> <a href="#xxx4index" title=dom-XXX4>XXX4</a>(in unsigned long index); <!-- XXX DOMB -->
+  readonly attribute <a href="#window">Window</a> <a href="#top0" title=dom-top>top</a>;
   readonly attribute <a href="#window">Window</a> <a href="#opener0" title=dom-opener>opener</a>;
   readonly attribute <a href="#window">Window</a> <a href="#parent0" title=dom-parent>parent</a>;
   <a href="#window">Window</a> <a href="#open2" title=dom-open>open</a>();

Modified: source
===================================================================
--- source	2008-07-29 21:53:34 UTC (rev 1950)
+++ source	2008-07-30 01:27:07 UTC (rev 1951)
@@ -28079,6 +28079,13 @@
   <code>iframe</code> element with a <code
   title="attr-iframe-seamless">seamless</code> attribute.</p>
 
+  <p>The <dfn title="dom-top"><code>top</code></dfn> DOM attribute on
+  the <code>Window</code> object of a <span>browsing context</span>
+  <var title="">b</var> must return the <code>Window</code> object of
+  its <span>top-level browsing context</span> (which would be its own
+  <code>Window</code> object if it was a <span>top-level browsing
+  context</span> itself).</p>
+
   <p>The <dfn title="dom-parent"><code>parent</code></dfn> DOM
   attribute on the <code>Window</code> object of a <span>browsing
   context</span> <var title="">b</var> must return the
@@ -28375,6 +28382,7 @@
   readonly attribute <span>Window</span> <span title="dom-frames">frames</span>;
   readonly attribute unsigned long <span title="dom-length">length</span>;
   [IndexGetter] <span>Window</span> <span title="dom-XXX4">XXX4</span>(in unsigned long index); <!-- XXX DOMB -->
+  readonly attribute <span>Window</span> <span title="dom-top">top</span>;
   readonly attribute <span>Window</span> <span title="dom-opener">opener</span>;
   readonly attribute <span>Window</span> <span title="dom-parent">parent</span>;
   <span>Window</span> <span title="dom-open">open</span>();




More information about the Commit-Watchers mailing list