[whatwg] some thoughts on sandboxed IFRAMEs

Kornel Lesinski wrote:
> However, if we're going to introduce token-based sandbox anyway, I
> suggest putting token in tag name:
>
> <sandbox-$token>...</sandbox-$token>
>
> 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.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Friday, 5 February 2010 06:19:41 UTC