W3C home > Mailing lists > Public > www-svg@w3.org > March 2005

Re: sXBL issue -- bindings getting notified when the bound element is inserted into a document

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Wed, 23 Mar 2005 22:22:08 -0600
Message-ID: <42424070.2050703@mit.edu>
To: www-svg@w3.org

Cameron McCormack wrote:
> For bindings such as ECMAScript, where there is no notion of interfaces
> per se and objects just happen to adhere a particular interface, it
> doesn't matter so much.

Indeed, except insofar as in a COM-like system (such as Mozilla, for example) it 
violates COM rules.

> I'm interested to know if in the C++ parts of
> Mozilla you have references to XBL objects where this becomes a problem.

Yes, there can definitely be references from C++ to XBL objects in Mozilla.  And 
yes, behavior when bindings are removed is a pretty major issue there...

> But at least DOM3 says that the node is allowed to be replaced if it is
> not possible for the implementation to just rename the node (for
> whatever reason).

Indeed.  I fully expect to take advantage of that weasel-hole as needed.  ;)

Received on Thursday, 24 March 2005 04:22:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:02 UTC