Re: <iframe doc="">

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 UTC