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

Re: <iframe doc="">

From: Kornel Lesinski <kornel@geekhood.net>
Date: Mon, 25 Jan 2010 21:05:35 -0000
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "public-html@w3.org" <public-html@w3.org>
Message-ID: <op.u63wvlq7ptj49s@aimac.local>
On Mon, 25 Jan 2010 20:28:56 -0000, Julian Reschke <julian.reschke@gmx.de>  
wrote:

> Well, data URIs are already there, while srcdoc would be a new  
> attribute, and we've been told by the editor that each new attribute in  
> HTML costs around 1 billion dollars in  
> specifying/implementing/deploying/documenting/teaching.
>
> Furthermore, the data: URI scheme allows you to specify the mime type,  
> so the HTML vs XHTML question is already answered.

data: cannot be used (it's been explained before), but perhaps new URI  
scheme could be created instead (e.g. data+sandbox)? This would degrade  
safely in current browsers and we wouldn't have to create *-sandboxed  
variant of every MIME type.

Additionally, data+sandbox: could specify restrictions as part of the URL  
itself, which would decouple it from <iframe> and make it potentially  
useful with other elements (e.g. to (dis)allow scripts in SVG in <img>).

-- 
regards, Kornel LesiƄski
Received on Monday, 25 January 2010 21:06:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:00 GMT