Opened 10 years ago
Closed 10 years ago
#8619 closed bug (notabug)
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>
Change History (4)
comment:1 Changed 10 years ago by
comment:2 follow-up: 3 Changed 10 years ago by
Owner: | set to hatanaka |
---|---|
Status: | new → pending |
Without a doctype, you're going into quirks mode, which isn't supported. Are you having any problems in standards mode?
comment:3 Changed 10 years ago by
Status: | pending → new |
---|
Replying to 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.
comment:4 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
jQuery 1.7.2 jQuery UI 1.8.24 -> OK