Skip to main content

Search and Top Navigation

#8619 closed bug (notabug)

Opened October 03, 2012 09:52AM UTC

Closed October 04, 2012 01:54AM UTC

position() does not operate correctly when browser is IE6 and parent is window.

Reported by: hatanaka Owned by: hatanaka
Priority: minor Milestone: 1.9.0
Component: ui.position Version: 1.8.24
Keywords: Cc:
Blocked by: Blocking:
Description

version: 1.8.23, 1.8.24

browser: IE6

In the below HTML, only one div element is not positioned at center, when browser is IE6.

When browser is Chrome, the div element is positioned at center.

dialog() does not operate correctly when browser is IE6, because dialog() uses position() internally.

I confirm version 1.8.24 has the same bug.

<html>
<head>
<style>
div.positionable {
	width: 75px;
	height: 75px;
	position: absolute;
	display: block;
	right: 0;
	bottom: 0;
	background-color: #bcd5e6;
	text-align: center;
}
</style>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script
	src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
<script>
	$(function() {
		$( ".positionable" ).position({
			of: window,
			my: 'center',
			at: 'center',
			collision: 'fit'
		});
	});
</script>
</head>
<body>

	<div class="positionable">
		<p>to position</p>
	</div>
</body>
</html>
Attachments (0)
Change History (4)

Changed October 03, 2012 09:54AM UTC by hatanaka comment:1

jQuery 1.7.2 jQuery UI 1.8.24 -> OK

1.8.2 1.8.24 -> NG

Changed October 03, 2012 11:57AM UTC by scottgonzalez comment:2

owner: → hatanaka
status: newpending

Without a doctype, you're going into quirks mode, which isn't supported. Are you having any problems in standards mode?

Changed October 04, 2012 01:37AM UTC by hatanaka comment:3

status: pendingnew

Replying to [comment:2 scott.gonzalez]:

Without a doctype, you're going into quirks mode, which isn't supported. Are you having any problems in standards mode?

Thanks. I understood.

Our web application has doctype, however it has <?xml ?> too. So IE6 is in quirks mode.

Without <?xml ?>, position() operates correctly.

Thanks, again.

Changed October 04, 2012 01:54AM UTC by scottgonzalez comment:4

resolution: → invalid
status: newclosed