- From: poot <cvsmail@w3.org>
- Date: Tue, 16 Jun 2009 10:59:49 +0900 (JST)
- To: public-html-diffs@w3.org
Remove remaining references to [WINDOW]. (whatwg r3277)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2424&r2=1.2425&f=h
http://html5.org/tools/web-apps-tracker?from=3276&to=3277
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2424
retrieving revision 1.2425
diff -u -d -r1.2424 -r1.2425
--- Overview.html 16 Jun 2009 01:56:09 -0000 1.2424
+++ Overview.html 16 Jun 2009 01:59:34 -0000 1.2425
@@ -15376,15 +15376,9 @@
attribute boolean <a href="#dom-iframe-seamless" title="dom-iframe-seamless">seamless</a>;
attribute DOMString <a href="#dom-dim-width" title="dom-dim-width">width</a>;
attribute DOMString <a href="#dom-dim-height" title="dom-dim-height">height</a>;
-<!-- XXX we should bring these back since the Window spec has atrophied
- readonly attribute Document <span title="dom-iframe-contentDocument">contentDocument</span>;
- readonly attribute <span>WindowProxy</span> <span title="dom-iframe-contentWindow">contentWindow</span>;
--->};</pre>
- <p>Objects implementing the <code><a href="#htmliframeelement">HTMLIFrameElement</a></code>
- interface <span class="impl">must</span> also implement the
- <code>EmbeddingElement</code> interface defined in the Window
- Object specification. <a href="#references">[WINDOW]</a></p> <!--
- XXX -->
+ readonly attribute Document <a href="#dom-iframe-contentdocument" title="dom-iframe-contentDocument">contentDocument</a>;
+ readonly attribute <a href="#windowproxy">WindowProxy</a> <a href="#dom-iframe-contentwindow" title="dom-iframe-contentWindow">contentWindow</a>;
+};</pre>
</dd>
</dl><!-- v2 doc="" idea (awaiting implementation experience with seamless="" first):
@@ -15772,6 +15766,16 @@
<a href="#reflect">reflect</a> the respective content attributes of the same
name.</p>
+ <p>The <dfn id="dom-iframe-contentdocument" title="dom-iframe-contentDocument"><code>contentDocument</code></dfn>
+ DOM attribute must return the <code>Document</code> object of the
+ <a href="#active-document">active document</a> of the <code><a href="#the-iframe-element">iframe</a></code> element's
+ <a href="#nested-browsing-context">nested browsing context</a>.</p>
+
+ <p>The <dfn id="dom-iframe-contentwindow" title="dom-iframe-contentWindow"><code>contentWindow</code></dfn>
+ DOM attribute must return the <code><a href="#windowproxy">WindowProxy</a></code> object of the
+ <code><a href="#the-iframe-element">iframe</a></code> element's <a href="#nested-browsing-context">nested browsing
+ context</a>.</p>
+
</div><h4 id="the-embed-element"><span class="secno">4.8.4 </span>The <dfn><code>embed</code></dfn> element</h4><!--
XXX we have all kinds of quirks we should define, as e.g. shown in:
http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsObjectFrame.cpp
@@ -15994,14 +15998,9 @@
readonly attribute <a href="#htmlformelement">HTMLFormElement</a> <a href="#dom-fae-form" title="dom-fae-form">form</a>;
attribute DOMString <a href="#dom-dim-width" title="dom-dim-width">width</a>;
attribute DOMString <a href="#dom-dim-height" title="dom-dim-height">height</a>;
-<!-- XXX we should bring these back since the Window spec has atrophied
- readonly attribute Document <span title="dom-object-contentDocument">contentDocument</span>;
- readonly attribute <span>WindowProxy</span> <span title="dom-object-contentWindow">contentWindow</span>;
--->};</pre>
- <p>Objects implementing the <code><a href="#htmlobjectelement">HTMLObjectElement</a></code>
- interface <span class="impl">must</span> also implement the
- <code>EmbeddingElement</code> interface defined in the Window
- Object specification. <a href="#references">[WINDOW]</a></p>
+ readonly attribute Document <a href="#dom-object-contentdocument" title="dom-object-contentDocument">contentDocument</a>;
+ readonly attribute <a href="#windowproxy">WindowProxy</a> <a href="#dom-object-contentwindow" title="dom-object-contentWindow">contentWindow</a>;
+};</pre>
<div class="impl">
<p>Depending on the type of content instantiated by the
<code><a href="#the-object-element">object</a></code> element, the node may also support other
@@ -16338,6 +16337,17 @@
<a href="#reflect">reflect</a> the respective content attributes of the same
name.</p>
+ <p>The <dfn id="dom-object-contentdocument" title="dom-object-contentDocument"><code>contentDocument</code></dfn>
+ DOM attribute must return the <code>Document</code> object of the
+ <a href="#active-document">active document</a> of the <code><a href="#the-object-element">object</a></code> element's
+ <a href="#nested-browsing-context">nested browsing context</a>, if it has one; otherwise, it
+ must return null.</p>
+
+ <p>The <dfn id="dom-object-contentwindow" title="dom-object-contentWindow"><code>contentWindow</code></dfn>
+ DOM attribute must return the <code><a href="#windowproxy">WindowProxy</a></code> object of the
+ <code><a href="#the-object-element">object</a></code> element's <a href="#nested-browsing-context">nested browsing context</a>,
+ if it has one; otherwise, it must return null.</p>
+
</div><div class="example">
<p>In the following example, a Java applet is embedded in a page
Received on Tuesday, 16 June 2009 02:00:23 UTC