Browse files

[] (0) Define window.top

git-svn-id: http://svn.whatwg.org/webapps@1951 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 8a04b9d commit 310b5a601981dbd840a70377f64602d29ae353c9 @Hixie Hixie committed Jul 30, 2008
Showing with 18 additions and 1 deletion.
  1. +10 −1 index
  2. +8 −0 source
View
11 index
@@ -24,7 +24,7 @@
<h1 id=html-5>HTML 5</h1>
- <h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 29 July
+ <h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 30 July
2008</h2>
<p>You can take part in this work. <a
@@ -30814,6 +30814,14 @@ never reset. This is nice and consistent.)
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 @@ never reset. This is nice and consistent.)
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>();
View
8 source
@@ -28079,6 +28079,13 @@ never reset. This is nice and consistent.)
<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 @@ never reset. This is nice and consistent.)
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>();

0 comments on commit 310b5a6

Please sign in to comment.