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

[whatwg] Sandboxing scripts: call for a wider discussion

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Mon, 23 Jan 2006 13:37:10 +0100
Message-ID: <20060123133710.f5oqvd9wlhk40sgg@webmail.annevankesteren.nl>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC