Comment 12 for bug 249656

Revision history for this message
In , pmow (pmow) wrote :

I have no experience in these matters but could the solution to this bug not be
very similar to the solution in bug 103452. At the moment resize events are
followed in nsGlobalWindow::HandleDOMEvent:

1194 if (aEvent->message == NS_RESIZE_EVENT) {
1195 mIsHandlingResizeEvent = PR_TRUE;
1196 }

right? If one tries to DispatchCustomEvent("DOMWindowResize") there and then
counts the number of tabs the way it was done in tabbrowser.xml in attachment
86328 before returning. Could that work or don't I have to waste my time trying
that?