<br><br><div><span class="gmail_quote">On 5/8/07, <b class="gmail_sendername">Henri Sivonen</b> <<a href="mailto:hsivonen@iki.fi">hsivonen@iki.fi</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On May 8, 2007, at 19:32, Dean Edwards wrote:<br><br>> Kind of like an <iframe> but without an external source.<br><br>My understanding is that main issue with iframe isn't the external<br>source but that the view port establishment.
<br><br>I wonder if this issue could be solved on the layout/CSS level by<br>providing a way to make the height of an iframe depend on the actual<br>height of the root element of the document loaded in the iframe. That<br>
is, would it be feasible to make the iframe contents have the layout/<br>UI feel of a part of the parent page while keeping the DOMs and<br>script security contexts separate?<br><br>--<br>Henri Sivonen<br><a href="mailto:hsivonen@iki.fi">
hsivonen@iki.fi</a><br><a href="http://hsivonen.iki.fi/">http://hsivonen.iki.fi/</a></blockquote><div><br><a href="http://www.w3.org/TR/css3-box/#intrinsic0">http://www.w3.org/TR/css3-box/#intrinsic0</a> (and also CSS2 10.6
)<br>Since CSS doesn't attempt to specify the intrinsic width of a document in an iframe, maybe HTML5 should specify that the intrinsic width of a document is:<br>- if the CSS width property is specified on the html element, the margin-box of the page at that width (which may have overflow)
<br>- else, if the CSS min-width property is specified on the html element, the margin-box of the page at that width (which may have overflow)<br>- else, the smallest width the page can have without horizontal scrolling<br>
</div>and the intrinsic height of the document is:<br>- if the CSS height or min-height property are set, similar to above, <br>- else, the smallest height the page can have at the intrinsic width of the document without vertical scrolling
<br><br></div><br clear="all"><br>-- <br>Jon Barnett