Skip to content

Commit

Permalink
[c] (0) Add height/width to <iframe>.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1659 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 21, 2008
1 parent 32e5ea3 commit 81fb69f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
18 changes: 15 additions & 3 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -14185,6 +14185,10 @@ the time Marco had stuck his tongue out...&lt;/p></pre>
<dd><code title=attr-iframe-seamless><a
href="#seamless">seamless</a></code>

<dd><code title=attr-dim-width><a href="#width4">width</a></code>

<dd><code title=attr-dim-height><a href="#height3">height</a></code>

<dt>DOM interface:

<dd>
Expand All @@ -14193,10 +14197,13 @@ the time Marco had stuck his tongue out...&lt;/p></pre>
attribute DOMString <a href="#src2" title=dom-iframe-src>src</a>;
attribute DOMString <a href="#name2" title=dom-iframe-name>name</a>;
attribute DOMString <a href="#sandbox0" title=dom-iframe-sandbox>sandbox</a>;
attribute boolean <a href="#seamless1" title=dom-iframe-seamless>seamless</a>;<!--
attribute boolean <a href="#seamless1" title=dom-iframe-seamless>seamless</a>;
attribute long <a href="#width5" title=dom-dim-width>width</a>;
attribute long <a href="#height4" 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>Window</span> <span title="dom-iframe-contentWindow">contentWindow</span>;-->
};</pre>
readonly attribute <span>Window</span> <span title="dom-iframe-contentWindow">contentWindow</span>;
-->};</pre>

<p>Objects implementing the <code><a
href="#htmliframeelement">HTMLIFrameElement</a></code> interface must
Expand Down Expand Up @@ -14533,6 +14540,11 @@ the time Marco had stuck his tongue out...&lt;/p></pre>

<hr>

<p>The <code><a href="#iframe">iframe</a></code> element supports <a
href="#dimension0">dimension attributes</a> for cases where the embedded
content has specific dimensions (e.g. ad units have well-defined
dimensions).

<p>An <code><a href="#iframe">iframe</a></code> element never has <a
href="#fallback">fallback content</a>, as it will always create a nested
<a href="#browsing1">browsing context</a>, regardless of whether the
Expand Down
15 changes: 12 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -12209,16 +12209,21 @@ the time Marco had stuck his tongue out...&lt;/p></pre>
<dd><code title="attr-iframe-name">name</code></dd>
<dd><code title="attr-iframe-sandbox">sandbox</code></dd>
<dd><code title="attr-iframe-seamless">seamless</code></dd>
<dd><code title="attr-dim-width">width</code></dd>
<dd><code title="attr-dim-height">height</code></dd>
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {
attribute DOMString <span title="dom-iframe-src">src</span>;
attribute DOMString <span title="dom-iframe-name">name</span>;
attribute DOMString <span title="dom-iframe-sandbox">sandbox</span>;
attribute boolean <span title="dom-iframe-seamless">seamless</span>;<!--
attribute boolean <span title="dom-iframe-seamless">seamless</span>;
attribute long <span title="dom-dim-width">width</span>;
attribute long <span title="dom-dim-height">height</span>;
<!-- 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>Window</span> <span title="dom-iframe-contentWindow">contentWindow</span>;-->
};</pre>
readonly attribute <span>Window</span> <span title="dom-iframe-contentWindow">contentWindow</span>;
-->};</pre>
<p>Objects implementing the <code>HTMLIFrameElement</code>
interface must also implement the <code>EmbeddingElement</code>
interface defined in the Window Object specification. <a
Expand Down Expand Up @@ -12586,6 +12591,10 @@ the time Marco had stuck his tongue out...&lt;/p></pre>



<p>The <code>iframe</code> element supports <span>dimension
attributes</span> for cases where the embedded content has specific
dimensions (e.g. ad units have well-defined dimensions).</p>

<p>An <code>iframe</code> element never has <span>fallback
content</span>, as it will always create a nested <span>browsing
context</span>, regardless of whether the specified initial contents
Expand Down

0 comments on commit 81fb69f

Please sign in to comment.