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

Re: <iframe doc="">

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 17 Jan 2010 18:55:31 +0100
Message-ID: <4B534F13.6070900@lachy.id.au>
To: Ian Hickson <ian@hixie.ch>
Cc: public-html@w3.org
Ian Hickson wrote:
>   - data: attributes require more escaping
>   - the definition of 'origin' for data: attributes isn't fully stable
>   - using data: has the wrong fallback story (it fails open, instead of
>     closed)

While this doesn't address the first two points, the fallback story can 
be somewhat improved by using text/html-sandboxed:

<iframe src="data:text/html-sandboxed,<!DOCTYPE html><p>test"></iframe>

The fallback for this is then the same as for using text/html-sandboxed 
over HTTP, which admittedly has its own set of problems in current browsers.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Sunday, 17 January 2010 17:56:09 UTC

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