[whatwg] Iframe dimensions

Adam Barth w3c at adambarth.com
Mon Jul 5 10:24:56 PDT 2010


On Mon, Jul 5, 2010 at 10:13 AM, Markus Ernst <derernst at gmx.ch> wrote:
> First, this sounds somehow complicated to me, and second, I don't understand
> why the dimensions of non-seamless iframes should not get the  benefits of
> author-friendly (and user-friendly) dimension handling.

One of the reasons is security: if we automatically sized iframes, an
attacker could learn things about documents in other origins.  Another
reason is compatibility: changing how frames layout would likely break
the layout of a large number of web sites.

Adam



More information about the whatwg mailing list