[html5] r1924 - [] (0) Define window.parent. (credit: cm, mjs)

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 23 18:32:25 PDT 2008


Author: ianh
Date: 2008-07-23 18:32:25 -0700 (Wed, 23 Jul 2008)
New Revision: 1924

Modified:
   index
   source
Log:
[] (0) Define window.parent. (credit: cm, mjs)

Modified: index
===================================================================
--- index	2008-07-23 23:50:31 UTC (rev 1923)
+++ index	2008-07-24 01:32:25 UTC (rev 1924)
@@ -24,7 +24,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 23 July
+   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 24 July
     2008</h2>
 
    <p>You can take part in this work. <a
@@ -30597,6 +30597,17 @@
    a <code title=attr-iframe-seamless><a href="#seamless">seamless</a></code>
    attribute.
 
+  <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
+   the <code><a href="#window">Window</a></code> object of the <a
+   href="#parent">parent browsing context</a>, if there is one (i.e. if <var
+   title="">b</var> is a <a href="#child">child browsing context</a>), or the
+   <code><a href="#window">Window</a></code> object of the <a
+   href="#browsing1">browsing context</a> <var title="">b</var> itself,
+   otherwise (i.e. if it is a <a href="#top-level">top-level browsing
+   context</a>).
+
   <h4 id=auxiliary><span class=secno>5.1.2 </span>Auxiliary browsing contexts</h4>
 
   <p>It is possible to create new browsing contexts that are related to a
@@ -30843,6 +30854,7 @@
   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="#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>();
   <a href="#window">Window</a> <a href="#open2" title=dom-open>open</a>(in DOMString url);
   <a href="#window">Window</a> <a href="#open2" title=dom-open>open</a>(in DOMString url, in DOMString target);

Modified: source
===================================================================
--- source	2008-07-23 23:50:31 UTC (rev 1923)
+++ source	2008-07-24 01:32:25 UTC (rev 1924)
@@ -27908,7 +27908,17 @@
   <code>iframe</code> element with a <code
   title="attr-iframe-seamless">seamless</code> attribute.</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
+  <code>Window</code> object of the <span>parent browsing
+  context</span>, if there is one (i.e. if <var title="">b</var> is a
+  <span>child browsing context</span>), or the <code>Window</code>
+  object of the <span>browsing context</span> <var title="">b</var>
+  itself, otherwise (i.e. if it is a <span>top-level browsing
+  context</span>).</p>
 
+
   <h4>Auxiliary browsing contexts</h4>
 
   <p>It is possible to create new browsing contexts that are related
@@ -28177,6 +28187,7 @@
   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-opener">opener</span>;
+  readonly attribute <span>Window</span> <span title="dom-parent">parent</span>;
   <span>Window</span> <span title="dom-open">open</span>();
   <span>Window</span> <span title="dom-open">open</span>(in DOMString url);
   <span>Window</span> <span title="dom-open">open</span>(in DOMString url, in DOMString target);




More information about the Commit-Watchers mailing list