W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2010

[whatwg] some thoughts on sandboxed IFRAMEs

From: Kornel Lesinski <kornel@geekhood.net>
Date: Fri, 5 Feb 2010 14:51:25 +0000
Message-ID: <4B4AEC92-8390-4B5D-BB88-DDAB520FA80F@geekhood.net>
On 5 Feb 2010, at 14:19, Lachlan Hunt wrote:

>> where $token is the random part. This avoids oddity of attributes in
>> closing tag, and is compatible with XML. In XML you could also use:
>> <$token:sandbox xmlns:$token="?"></$token:sandbox>
> No, you couldn't use a namespace like that, because then the sandbox element would not be in the HTML namespace, and thus would not have any known semantics.

Eh, I've left out namespace URI, because I don't like to type it. Here's complete example that applies HTML semantics:

<div xmlns="http://www.w3.org/1999/xhtml">
  <dd02c7c2232759874e1c205587017bed:sandbox xmlns:dd02c7c2232759874e1c205587017bed="http://www.w3.org/1999/xhtml">

regards, Kornel
Received on Friday, 5 February 2010 06:51:25 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:20 UTC