[EMAIL PROTECTED] wrote: > On Jul 14, 3:27 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote: >> So I guess the question is which we think is best for the web, since at >> this point we could do any of the three for 1.9.1, I think. > > The object sounds like the best solution to me. No nasty callbacks > from DOM to JS.
The downside with the object is that it makes it harder to do things like using the mappings that are available on a node. With a callback you can easily just call node.lookupNamespaceURI, but there is no way to dig out all the mappings available at a node. I really think the callback is the way to go for web authors. And I really don't think it's that big of a hassle for implementors, though I'd defer to bz on that. We deal with callbacks all the time, and we always will. / Jonas _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

