- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 3 Sep 2009 09:42:04 +0000 (UTC)
- To: Jonas Sicking <jonas@sicking.cc>
- Cc: Alex Russell <slightlyoff@google.com>, Bo Yang <struggleyb.nku@gmail.com>, www-dom@w3.org
On Sat, 29 Aug 2009, Jonas Sicking wrote: > On Sat, Aug 29, 2009 at 10:53 PM, Ian Hickson<ian@hixie.ch> wrote: > > On Wed, 19 Aug 2009, Jonas Sicking wrote: > >> > >> One thing that seems unfortunate with the current API is that you can > >> call .open() on a document dynamically, thus changing behavior of any > >> node which has that node as ownerDocument (note that while nodes are > >> removed from the document when .open() is called, they don't change > >> ownerDocument). > > > > There are lots of unfortunate things with the current model, but I'm > > not sure they're a big deal. > > > > What would you like document.open() to do if called on an XML document > > if we don't convert to an HTML document? > > Make document.open() do nothing other than throw an exception. Done. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 3 September 2009 09:39:36 UTC