Skip to main content

Bug Tracker

Side navigation

#14352 closed bug (wontfix)

Opened September 11, 2013 12:27PM UTC

Closed October 18, 2013 04:21PM UTC

Last modified October 18, 2013 07:07PM UTC

window and iframe window height discrepancy

Reported by: tj.vantoll Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:
Description

This came up in a jQuery UI bug: http://bugs.jqueryui.com/ticket/9534.

$.fn.height
does not use the scroll height for
window
but does for
<iframe>
window
s.

Test case: http://jsfiddle.net/tj_vantoll/dU9LF/

Attachments (0)
Change History (2)

Changed October 18, 2013 04:21PM UTC by timmywil comment:1

resolution: → wontfix
status: newclosed

Thanks for opening a ticket!

After looking into this, we realized that the iframe is in quirksmode, which we don't support.

http://jsfiddle.net/dU9LF/2/

Changed October 18, 2013 07:07PM UTC by dmethvin comment:2

Also, even the meager jQuery.support.boxModel flag we had in earlier versions wouldn't work here since we only feature detected for the window that loaded jQuery. If we wanted to support quirks for this case, which we don't, we would have to have all sorts of tests in the live code path based on the mode of the document being processed.