Skip to main content

Bug Tracker

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

http://jsfiddle.net/fUfeU/9/

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''.

Attachments (0)
Change History (2)

Changed February 19, 2011 06:14PM UTC by snover comment:1

resolution: → worksforme
status: newclosed

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.

Changed February 20, 2011 01:38PM UTC by jitter comment:2

component: unfileddimensions
priority: undecidedlow