Search and Top Navigation
#3644 closed bug (duplicate)
Opened December 09, 2008 01:17PM UTC
Closed December 18, 2008 11:15AM UTC
Dialog: exception in IE when using a dialog and .ui-dialog-content has default margin (auto)
Reported by: | rdworth | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.7 |
Component: | ui.dialog | Version: | 1.5.2 |
Keywords: | dialog IE error | Cc: | |
Blocked by: | Blocking: |
Description
When you don't include a theme for dialog which sets a margin to the ui-dialog-content element, like
.ui-dialog-content { margin: 0; }
you get an exception in IE6
Here's a full test page:
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.js"></script>
<style type="text/css">
.ui-dialog-content { margin: auto; }
</style>
<script type="text/javascript">
$(function() {
$("<div/>").dialog();
});
</script>
</head>
<body></body>
</html>
Change margin: auto to margin: 0 and the exception goes away.
Attachments (0)
Change History (3)
Changed December 11, 2008 02:57AM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Changed December 18, 2008 11:14AM UTC by comment:2
resolution: | fixed |
---|---|
status: | closed → reopened |
This is a duplicate of ticket #3086
It was fixed in rev [444]
Changed December 18, 2008 11:15AM UTC by comment:3
resolution: | → duplicate |
---|---|
status: | reopened → closed |
This has already been fixed for 1.6.