Side navigation
#8325 closed bug (worksforme)
Opened February 19, 2011 03:04PM UTC
Closed February 19, 2011 06:14PM UTC
Last modified February 20, 2011 01:38PM UTC
$("select"). [width/innerWidth/outerWidth] incorrect in Safari 5.0.3 Win
Reported by: | kaneiderdaniel@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | dimensions | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Use the following test case
to see the problem.
This test case just displays the ''width'', ''innerWidth'', and ''outherWidth'' of a simple visible ''select''.
My results:
- Safari 5.0.3 Win: 8, 33, 33
- Firefox 4.0b11: 32, 32, 36
- Chrome 8.0.552 and 10.0.648: 31, 31, 33
As far as I understood, the ''.width'' should be somewhere around/between ''.innerWidth'' and ''.outherWidth''.
Thanks for the report, but this is not a jQuery bug. Different browsers/platforms apply different levels of browser chrome to form elements so they are not the same across platforms. Furthermore, I am not able to reproduce your Safari results; here, the testcase shows 38, 38, 38.