Subj : Re: How can JS intercept relayout calls? To : netscape.public.mozilla.jseng From : Neil Deakin Date : Tue Dec 21 2004 11:23 am Geoff wrote: > Brendan Eich wrote in news:41C7910E.9000007@meer.net: > > >>Please post to the right newsgroup. See newsgroup: and followup-to: >>headers above. > > > Thanks for that. However, there is no event that I can use that is part of > the DOM, so wouldn't asking in the DOM group be a bit pointless? > > I'm asking here because this is (correct me if I'm wrong) where I ask about > the Javascript engine and its internals. And what I'd like to know is if > there's an event I can hook into to say a re-layout has just occurred, or > the element I'm interested in has moved. > > The DOM group will say "Yes, that element has indeed moved", but won't be > able to tell me what the Javascript engine knows about that movement or > what is accessible to Javascript code. Someone in > netscape.public.mozilla.jseng should be able to answer that though. > In fact, the 'DOM group" should tell you to file a bug in bugzilla. They might also tell you that the JavaScript engine knows absolutely nothing about events, layout or html and that n.p.m.jseng is the wrong newsgroup. The JS Engine handles only the parsing and execution of script. Layout is handled by separate components. / Neil .