Modify ↓
Ticket #4907 (closed bug: duplicate)
jQuery.fn.width and jQuery.fn.height returns incorrect values for window in Opera
| Reported by: | mdevils | Owned by: | brandon |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | dimensions | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
In Opera it returns the size of document body unlike in other browsers.
In evaluating window size in Opera the folowing properties should be used: window.innerWidth and window.innerHeight.
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.
