Short URL: http://html5.org/r/1951
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 1951 | Define window.top | 2008-07-30 01:27 |
Index: source =================================================================== --- source (revision 1950) +++ source (revision 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>();