Ticket #2389 (closed bug: invalid)
UI.Enchant has offsetLeft problems in Opera
| Reported by: | asbjornu | Owned by: | aaronchi |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | enchant | Version: | |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
In Opera 9.26 the UI.Enchant demos has some offsetLeft problems, i.e. when boxes are moved around, they are positioned too far to the right; about the same amount of pixels as the width of the box.
Change History
comment:3 Changed 5 years ago by aaronchi
The problem here is that firefox and ie report different top/left values for el.css() for static positioned elements.
In firefox/ie, el.css('top') returns 'auto' for static positioned elements, while opera returns a value in pixels. I'm not sure if this needs to be addressed in the jquery enchant code or if it should be fixed in jquery core.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
