Stewart Brodie wrote:
Aren't those DOM events handy?  Just what you need to keep these data
structures up to date.   It sounds like you do exactly the same as me :)

Yeah, with a capturing DOM event listener on the root you could basically get the notifications you need. Gecko doesn't actually use DOM events internally because they introduce a lot of overhead, but it has a similar notification system in place.

-Boris

Reply via email to