Skip to main content

Bug Tracker

Side navigation

#10597 closed bug (invalid)

Opened October 27, 2011 01:58PM UTC

Closed November 02, 2011 12:27AM UTC

IE8, $(document).height() != $(window).height()

Reported by: Owned by:
Priority: low Milestone: None
Component: dimensions Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:

The example of jquery ( of the .height()-function gives back strange results.

The document is not larger then the viewport so $(document).height() (125px) shouldn't return a larger value then $(window).height() (121px).

IE9 doesn't have that problem and I haven't tested IE6 and IE7 because I'm lucky enough to not need to give support to those browsers anymore. :-)

Too reproduce I think it easier for you guys that you put the example in the latest version of jQuery to test it.

Attachments (0)
Change History (1)

Changed November 02, 2011 12:27AM UTC by timmywil comment:1

component: unfileddimensions
priority: undecidedlow
resolution: → invalid
status: newclosed

It is just a matter of different default styles across browsers from within the iframe.