Opened 15 years ago
Closed 13 years ago
#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: | ||
Blocked by: | Blocking: |
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 (4)
comment:1 Changed 15 years ago by
Owner: | changed from paul to aaronchi |
---|
comment:2 Changed 15 years ago by
Component: | ui → enchant |
---|
comment:3 Changed 15 years ago by
Note: See
TracTickets for help on using
tickets.
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.