[whatwg] overflow of seamless iframes

On Tue, Aug 19, 2008 at 1:05 PM, Robert O'Callahan <robert at ocallahan.org>wrote:

> On Tue, Aug 19, 2008 at 12:21 PM, Ian Hickson <ian at hixie.ch> wrote:
>
>> On Mon, 18 Aug 2008, Robert O'Callahan wrote:
>> >
>> > Suppose the iframe's document is
>> > <body style="position:relative; top:-100px; height:500px;
>> > background:yellow;"></body>
>> > What's the height of the bounding box? 400px or 500px?
>>
>> 500px.
>>
>
> That's a little weird since only 400px of content will be displayed, but OK
> as long as it's clear :-).
>

Hmm ... does the "bounding box" take into account scroll positions? Because
if it does, then scrolling in the iframe's document can change the intrinsic
height of the iframe (for example if there's also fixed-pos content in the
iframe). That doesn't sound good.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20080819/fd82acf9/attachment.htm>

Received on Monday, 18 August 2008 18:28:06 UTC