Bug Tracker

Modify

Ticket #4907 (closed bug: duplicate)

Opened 5 years ago

Last modified 4 years ago

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

comment:1 Changed 5 years ago by dmethvin

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

comment:2 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to duplicate

Dup of #3117.

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.