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 comment:1
Changed November 06, 2008 09:39PM UTC by comment:2
component: | unfilled → dimensions |
---|---|
owner: | flesler → brandon |
Changed November 13, 2010 08:01PM UTC by comment:3
owner: | brandon → Tim Molendijk |
---|---|
status: | new → pending |
Please provide a test case using jsfiddle.
Changed December 02, 2010 08:07AM UTC by comment:4
resolution: | → invalid |
---|---|
status: | pending → closed |
Automatically closed due to 14 days of inactivity.
For completeness; I'm talking about Safari for Mac, version 3.1.2