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

RE: <iframe doc="">

From: Leonard Rosenthol <lrosenth@adobe.com>
Date: Wed, 13 Jan 2010 06:42:03 -0800
To: "'Ian Hickson'" <ian@hixie.ch>, Boris Zbarsky <bzbarsky@MIT.EDU>
CC: "public-html@w3.org" <public-html@w3.org>
Message-ID: <D23D6B9E57D654429A9AB6918CACEAA97CA33AFF14@NAMBX02.corp.adobe.com>
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...


Leonard Rosenthol
PDF Standards Architect
Adobe Systems

-----Original Message-----
From: public-html-request@w3.org [mailto:public-html-request@w3.org] On Behalf Of Ian Hickson
Sent: Tuesday, January 12, 2010 9:33 PM
To: Boris Zbarsky
Cc: public-html@w3.org
Subject: Re: <iframe doc="">

On Tue, 12 Jan 2010, Boris Zbarsky wrote:
> On 1/12/10 8:58 PM, Ian Hickson wrote:
> > In response to implementor feedback and based on a brief discussion with
> > Maciej, I will be adding a specification for the oft-discussed doc=""
> > attribute on<iframe>  to the HTML5 spec in the near future.
> 
> So this would do exactly what src="data:..." does, pretty much?  Why is 
> this feature needed, exactly?

More or less, but the escaping is more trivial, the origin is the 
parent's in all cases (origin for data: is more complicated than that to 
handle things like redirects, and we don't yet have consensus amongst all 
the implementors and the spec about exactly what the model should be), and 
we can do things like imply a <!DOCTYPE HTML> and make <title> optional, 
thus forcing strict mode and not requiring quite as much boilerplate.

The escaping is the main thing, though.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 13 January 2010 14:42:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:12 UTC