id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blocking	blockedby
7962	'width' property of <select> element is wrongly calculated for Safari	Mr.Shift_and_Dr.Alt		"I encountered a problem that ''$(element).width()'' and ''$(element).css('width')'' return wrong width for Safari 5.0.3 for Windows. It works fine for Firefox and IE though. jQuery 1.4.2 works fine for all the mentioned browsers.

I tested the following code below:

{{{
<html>
<head>
    <style type=""text/css"">
    .zozo{
        width: 400px;
    }
    </style>
    <script type=""text/javascript"" src=""jquery-1.4.4.min.js""></script>
    <script type=""text/javascript"">
    $(document).ready(function() {
        var $zozo=$('#zozo');
        var log='';
        log+='$zozo.width()='+$zozo.width()+'\n';
        log+='$zozo.css(""width"")='+$zozo.css('width')+'\n';
        alert(log);
    });
    </script>
</head>
<body>
    <select id=""zozo"" class=""zozo"">
        <option value=""1"">123</option>
        <option value=""2"">12345</option>
    </select>
</body>
</html>
}}}
Safari displays:  $zozo.width()=375, $zozo.css(""width"")=375px;
Firefox displays: $zozo.width()=398, $zozo.css(""width"")=398px;"	bug	closed	low	1.next	css	1.4.4	invalid				
