Skip to main content

Bug Tracker

Side navigation

#3578 closed bug (invalid)

Opened November 05, 2008 07:33PM UTC

Closed December 02, 2010 08:07AM UTC

Window height in Safari includes scrollbar height.

Reported by: Tim Molendijk Owned by: Tim Molendijk
Priority: major Milestone: 1.3
Component: dimensions Version: 1.2.6
Keywords: safari window height Cc:
Blocked by: Blocking:
Description

In Safari (3.1.2 at least) $(window).height() results in a number which includes the horizontal scrollbar height.

jquery-1.2.6.js, line 1344-1345:

// Safari reports inner[Width/Height] just fine (Mozilla and Opera include scroll bar widths)

jQuery.browser.safari && window[ "inner" + name ] ||

I think the bug is illustrated in the comment, which states that just Mozilla and Opera include scrollbar widths, but I think this also is true for Safari.

Attachments (0)
Change History (4)

Changed November 05, 2008 07:35PM UTC by Tim Molendij comment:1

For completeness; I'm talking about Safari for Mac, version 3.1.2

Changed November 06, 2008 09:39PM UTC by flesler comment:2

component: unfilleddimensions
owner: fleslerbrandon

Changed November 13, 2010 08:01PM UTC by dmethvin comment:3

owner: brandonTim Molendijk
status: newpending

Please provide a test case using jsfiddle.

Changed December 02, 2010 08:07AM UTC by trac-o-bot comment:4

resolution: → invalid
status: pendingclosed

Automatically closed due to 14 days of inactivity.