[whatwg] overflow of seamless iframes

Robert O'Callahan robert at ocallahan.org
Mon Aug 18 18:05:08 PDT 2008


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 :-).

> > If we allow the contents to flow out of the box, then we also allow
> > > blog comments to start overlapping other content on the page.
> >
> > Yeah, although setting overflow:hidden on the iframe could be used to
> > prevent that.
>
> Fair enough. In that case I'd rather we had this in the UA stylesheet:
>
>   iframe[seamless][sandbox] { overflow: hidden ! important; }
>

I'd suggest having that except without !important.

But never mind about this issue anyway. I think we can live without it.

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/3ba63abd/attachment.htm>


More information about the whatwg mailing list