outerWidth on safari

outerWidth on safari


I've been testing outerWidth on safari and the results do not appear
to be correct. I did some more digging and it appears that the
innerWidth is also not accommodating the width of the scroller bar in
cases where you have nested divs. Firefox seems to behave correctly.
I'm using the latest jquery and dimensions drops available. For an
example of the problem, you can go to Brandon's demo page and see the
results for outerWidth on safari and on firefox:
On safari the results are:
Element Outer Width
$('#elmDim').outerWidth();
=> 216
$('#elmDim').outerWidth({ margin: true });
=> 922
On Firefox the results are:
Element Outer Width
$('#elmDim').outerWidth();
=> 216
$('#elmDim').outerWidth({ margin: true });
=> 226