Subj : Re: How can JS intercept relayout calls? To : netscape.public.mozilla.layout,netscape.public.mozilla.jseng From : Mike Shaver Date : Tue Dec 21 2004 12:05 pm Geoff wrote: > It looks like I'm just going to get in a cycle of "no, don't ask us, ask > /them/". The DOM folks can say that it's not their issue since there's no > DOM event that will do what I need. The Layout folks can do just the > opposite what's happening here and say they only deal with layout, not the > Javascript side of things. > > Nonetheless, there's somewhere the JS Engine and the Layout engine meet, > and that's the bit I wanted to find out about. No, it's not. The JS engine and Layout meet in XPConnect, which is a mostly-generic mapping between XPCOM and JavaScript. What you are asking about is a DOM/layout issue, as Neil and Brendan have tried to tell you. The JavaScript engine doesn't know whether it's scripting the DOM or a VXML IVR system; it just deals in script execution and objects. If the layout system's DOM provides the capability you are looking for, the JS engine will reflect it happily and without any knowledge of the specifics of the capability. If it does not, nothing in the JS engine can help you. Thus: take it up with the layout and DOM people. DOM people who send you back to the JS engine group for the question you asked will be dealt with sternly! > But I think I'll give up before I annoy even more people. I'll stick with > things being broken in Mozilla because that's easier than trying to find > out how to fix it. Three experienced Mozilla developers, including myself, have now tried to tell you where to go to find out how to fix it. Don't blame "Mozilla" for the fact that you won't listen to the advice and instruction you're given. Mike .