var popupBox = document.getBoxObjectFor(this.popup);
var w = popupBox.width;
returns 0 and 2 (2 calls) on startup with this testcase
Created attachment 200906 [details]
In this testcase (linux and windows, branch and trunk), the select1 is not wide enough. Changing the instance data using the input fixes the issue.
Created attachment 201048 [details] [diff] [review]
Remove wrong optimization
The "optimization" in
should be enough.
checked into MOZILLA_1_8_BRANCH via bug 323691. Leaving open for now until it gets into 1.8.0
verfied fixed on MOZILLA_1_8_BRANCH