Skip to main content

Search and Top Navigation

#7365 closed bug (notabug)

Opened May 12, 2011 10:00PM UTC

Closed May 13, 2011 12:07AM UTC

jquery dialogs do not work in quirks mode

Reported by: aelliott Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.12
Keywords: Cc:
Blocked by: Blocking:
Description

I am writing a jquery based widget that will go on another company's website. When I try to set the height of the dialog via $('#dialog').height(450), it sets the dialog to be much shorter. I'm able to get it to be 380px high by using 380, but setting it to 381 makes the dialog 1 pixel high. I've determined that the bug happens only in IE8 in quirks mode. Yes, I know jquery doesn't support quirks mode. I can't change the doctype, since it's not my website.

Even though what I did worked, I need to understand why. Is there a definitive guide to how jquery works in quirks mode?

Attachments (0)
Change History (1)

Changed May 13, 2011 12:07AM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

jQuery doesn't support quirks mode.