Re: Proposal: content-size value for 'height'

On Wed, Jul 16, 2008 at 7:50 PM, L. David Baron <dbaron@dbaron.org> wrote:
> [ Subject tweaked, since that what you're proposing isn't a new
>  property; it's a new value for an existing property. ]
>
> On Wednesday 2008-07-16 19:04 -0400, Michael A. Puls II wrote:
>>
>> Problem: Make an iframe or object's height expand to the height of its content
>>
>> Not a solution: height: 100%
>
> There's considerable discussion of this in
> https://bugzilla.mozilla.org/show_bug.cgi?id=80713 .
>
> Note that there are potential security issues because the size of
> the content of a page potentially leaks information (e.g., whether
> you're logged in to a site, etc.).

Interesting. Even if it was restricted to same domain, it'd still be
useful and better than trying to go it with scripts. Of course, a
cross-domain solution would be more desirable.


-- 
Michael

Received on Thursday, 17 July 2008 01:34:35 UTC