W3C home > Mailing lists > Public > public-html@w3.org > January 2010

Re: <iframe doc="">

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 13 Jan 2010 09:23:58 -0600
Message-ID: <dd0fbad1001130723od8830e5tc36ed77c370878d7@mail.gmail.com>
To: Leonard Rosenthol <lrosenth@adobe.com>
Cc: Ian Hickson <ian@hixie.ch>, Boris Zbarsky <bzbarsky@mit.edu>, "public-html@w3.org" <public-html@w3.org>
On Wed, Jan 13, 2010 at 8:42 AM, Leonard Rosenthol <lrosenth@adobe.com> wrote:
> I don't understand how you can assume that the destination of the doc URL is going to be text/HTML?  Why couldn't the iFrame be pointing to an SVG image, for example, or a PDF?  Those are also valid (and in the latter case of PDF, quite common) things one would put in an iFrame and wish to refer to...

@doc doesn't take a url, it takes literal html code (with quotes
escaped).  It is intended to help with the use of multiple <iframe>s
on a page, especially @sandbox'd ones, so that you don't incur
multiple network requests but still get the security benefits of
framing the content such as blog comments.

Received on Wednesday, 13 January 2010 15:24:27 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:07 UTC