Ticket #514 (closed feature: fixed)
Safari: getCurrentSize fails on display:none elements
|Reported by:||crschmidt||Owned by:||crschmidt|
Elements with display:none set will fail to return the correct value for getCurrentSize in Safari. Hidden elements return 'NaN' for clientWidth (as opposed to '0' from other browsers) so the fallback logic in getCurrentSize is never executed. The Overview Map not working in Safari is a symptom of this bug: because the overview map element is created as display:none, the map has 0 size on creation, and is therefore not displayed correctly.
Confirmed with svn r2301.