DOM2 implementation questions

Date view Thread view Subject view Author view Other groups

Subject: DOM2 implementation questions
From: Raph Levien (raph@onan.artofcode.com)
Date: Wed Jan 12 2000 - 00:23:12 EST


I'm currently trying to implement a significant subset of DOM2 in
Gdome, and have run across a number of questions. Here's my current
set:

General

Is there a reasonable DOM2 implementation I can use as a reference?
Ideally, it would contain all of DOM2 core plus events and css.

EventTarget::removeEventListener

What happens if there are two listeners A and B on a target, and A
removes B? Is B guaranteed to be called?

What if A and B are bubble listeners on an an ancestor of the target?

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

Attr::value

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

Node::normalize

What events are appropriate? Deletion of additional Text nodes
followed by mutation of the first Text node? (this is what I percieve
to be the reverse of Text::splitText).

   Any help on these would be appreciated. Sorry if they're a FAQ.

Raph


Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b27 : Wed Jan 12 2000 - 00:54:01 EST