Modify ↓
Ticket #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: | |
| 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)
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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