Skip to main content

Bug Tracker

Side navigation

#5134 closed bug (duplicate)

Opened August 28, 2009 01:01AM UTC

Closed December 06, 2010 03:23PM UTC

Last modified March 10, 2012 06:28AM UTC

outerWidth(true) reports incorrectly in Safari

Reported by: alecgorge Owned by: alecgorge
Priority: major Milestone:
Component: dimensions Version: 1.3.2
Keywords: safari,4,safari4,outerWidth,true Cc:
Blocked by: Blocking:
Description

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.

On safari the results are:

Element Outer Width

$('#elmDim').outerWidth();

> 216

$('#elmDim').outerWidth(true);

> 922

On Firefox the results are:

Element Outer Width

$('#elmDim').outerWidth();

> 216

$('#elmDim').outerWidth(true);

> 226

Attachments (0)
Change History (5)

Changed November 19, 2010 01:12AM UTC by dmethvin comment:1

owner: brandonalecgorge
status: newpending

Can you provide a test case?

Changed December 03, 2010 07:53AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed December 06, 2010 03:23PM UTC by jitter comment:3

milestone: 1.4
resolution: invalid
status: closedreopened

Changed December 06, 2010 03:23PM UTC by jitter comment:4

resolution: → duplicate
status: reopenedclosed

Changed December 06, 2010 03:23PM UTC by jitter comment:5

Duplicate of #3333.