Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#14352 closed bug (wontfix)

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> windows.

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

Change History (2)

comment:1 Changed 6 years ago by timmywil

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/

comment:2 Changed 6 years ago by dmethvin

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.

Note: See TracTickets for help on using tickets.