W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: DOM2 implementation questions

From: <keshlam@us.ibm.com>
Date: Wed, 12 Jan 2000 08:49:56 -0500
To: www-dom@w3.org, gdome-list@rpmfind.net
Message-ID: <85256864.004BFAD1.00@D51MTA03.pok.ibm.com>
> What happens if there are two listeners A and B on a target, and A
> removes B? Is B guaranteed to be called?

Adding or removing a listener during processing of an event takes effect
after all existing listeners of the node dispatching that event have been
processed. This is true for all phases of dispatch.

> What if A and B are bubble listeners on two different ancestors of the
> target (B ancestor of A)?

In this case the change would be seen, because the node dispatching B has
not yet started processing the event.

> What is the difference between Attr::nodeValue and Attr::value?

Historical, for compatability with "DOM Level 0". No functional difference.
There are a few other redundancies in the DOM, for the same reason.

> Node::normalize
> What events are appropriate?

All events corresponding to the changes being made to the document. The
exact sequence of events is unspecified, since the exact sequence of
operations performed by the normalize operation is unspecified.

Joe Kesselman  / IBM Research
Received on Wednesday, 12 January 2000 08:50:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:45 UTC