Bug Tracker

Modify

Ticket #3578 (closed bug: invalid)

Opened 5 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 5 years ago by Tim Molendij

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

comment:2 Changed 5 years ago by flesler

  • Owner changed from flesler to brandon
  • Component changed from unfilled to dimensions

comment:3 Changed 3 years ago by dmethvin

  • Owner changed from brandon to Tim Molendijk
  • Status changed from new to pending

Please provide a test case using jsfiddle.

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

  • Status changed from pending to closed
  • Resolution set to invalid

Automatically closed due to 14 days of inactivity.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.