Bug Tracker

Opened 15 years ago

Closed 13 years ago

#3578 closed bug (invalid)

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.

Change History (4)

comment:1 Changed 15 years ago by Tim Molendij

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

comment:2 Changed 15 years ago by flesler

Component: unfilleddimensions
Owner: changed from flesler to brandon

comment:3 Changed 13 years ago by dmethvin

Owner: changed from brandon to Tim Molendijk
Status: newpending

Please provide a test case using jsfiddle.

comment:4 Changed 13 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Automatically closed due to 14 days of inactivity.

Note: See TracTickets for help on using tickets.