Bug Tracker

Ticket #2389 (new bug)

Opened 9 months ago

Last modified 8 months ago

UI.Enchant has offsetLeft problems in Opera

Reported by: asbjornu Assigned to: aaronchi
Type: bug Priority: major
Milestone: Component: enchant
Version: Keywords:
Cc: Needs: Review

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.

Attachments

Change History

Changed 9 months ago by paul

  • owner changed from paul to aaronchi

Changed 9 months ago by paul

  • component changed from ui to enchant

Changed 8 months 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.

Note: See TracTickets for help on using tickets.