The menu code at <http://jjc.edu/> calculates its positioning based on document.width, which is returning 0 by the time the position is calculated. However, this doesn't happen all the time. For me, if I load the URL in the address bar and hit enter, I can reproduce the bug consistently. If I click the reload button in the toolbar though, it works properly.
The attached testcase shows the bug either way, but if I add in an alert(), it works OK after it is dismissed.
Created attachment 15604 [details]
Should mention this happens with Safari 2 up to ToT.
Sounds easy to fix. Just need to add an updateLayoutIgnoringPendingStylesheets.
*** Bug 15137 has been marked as a duplicate of this bug. ***
Created attachment 16202 [details]
Comment on attachment 16202 [details]
Landed in r25591.