W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] Sandboxing scripts in pages

From: Asbjørn Ulsberg <asbjorn@tigerstaden.no>
Date: Fri, 12 Jan 2007 20:53:12 +0100
Message-ID: <op.tl136yqd16f2qb@quark>
On Fri, 12 Jan 2007 17:34:03 +0100, James M Snell <jasnell at gmail.com>  

> Whatever shape the mechanism ultimately takes, having a way of isolating
> scripts within a document would be extremely beneficial.

+1. I think having a separate HTML element is the wrong solution, but a  
CSS property called 'reset'[1] and a DOM property called 'restrict'[2]  
could achieve the same goal but without "polluting" HTML with stuff that  
isn't really HTML related and which semantics doesn't make sense in an  
HTML context.

The CSS property has already been mentioned on this list, but the  
discussion faded kind of quick so I would like to bring it up again.

1. With the possible values of '*' (resets the inheritance and cascade of  
all properties) and all CSS property values defined in CSS1+2+3.
2. Not sure which values this property should have yet.

Asbj?rn Ulsberg     -=|=-    http://virtuelvis.com/quark/
?He's a loathsome offensive brute, yet I can't look away?
Received on Friday, 12 January 2007 11:53:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:51 UTC