[whatwg] Sandboxing scripts: call for a wider discussion

Quoting Jim Ley <jim.ley at gmail.com>:
>>> http://www.w3.org/TR/2001/WD-DOM-Level-2-HTML-20011210/html.html#ID-75233634
>>
>> I'm surprised. document.write is defined but it's substantially different
>>  from what the browsers implement. DOM 2 says that write() can be called
>> only between calls to open() and close(), and that a call to open() clears
>> the existing content of the document.
>
> That's because the existence of a global object called document that
> points to the current document doesn't exist in any standard.

http://www.w3.org/TR/DOM-Level-2-Views/views.html#Views-AbstractView-document


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Monday, 23 January 2006 04:37:10 UTC