Re: DOM2 implementation questions



Raph Levien wrote:
> 
> Node::normalize
> 
> What events are appropriate? Deletion of additional Text nodes
> followed by mutation of the first Text node? 

My implementation has the low level mutation code trigger the
events, so the normalize() code doesn't do anything special.
(It's just a convenience method over lower level code.)

Since the DOM spec doesn't specify the order for these events,
you could use that order or several others.

- Dave




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]