W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2007

[whatwg] Sandboxing ideas

From: Magnus Gasslander <mg@opera.com>
Date: Thu, 10 May 2007 15:13:18 +0200
Message-ID: <46431A6E.2010408@opera.com>
Gervase Markham skrev:
> Henri Sivonen wrote:
>> I wonder if this issue could be solved on the layout/CSS level by 
>> providing a way to make the height of an iframe depend on the actual 
>> height of the root element of the document loaded in the iframe. That 
>> is, would it be feasible to make the iframe contents have the 
>> layout/UI feel of a part of the parent page while keeping the DOMs 
>> and script security contexts separate?
> It's certainly feasible; there's a patch for it for Gecko:
> https://bugzilla.mozilla.org/show_bug.cgi?id=80713
I see you have done some work to prevent reflow loops with percentage 
root heights > 100%, but how does your patch handle an iframe document 
that looks like this? (I can think of nastier testcases also, where 
"bottom"  is embedded further down in the document)

<div style="position:absolute;bottom:-5px;">This will force a scrollbar 
on the document</div>

Received on Thursday, 10 May 2007 06:13:18 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:55 UTC