Opened 10 years ago

Closed 10 years ago

#8460 closed defect (fixed)

IE8: dojo.coords() returns wrong position when page is scrolled

Reported by: bill Owned by: bill
Priority: high Milestone: 1.3
Component: HTML Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

See dojo/_base/tests/abs.html. When the *page* is scrolled the results are really off. Probably an IE bug that we aren't working around.

Happens on IE8 RC1.

absQuirk, on the other hand, works correctly, so shouldn't break that.

This is the base cause of #8429 and #8441.

Change History (2)

comment:1 Changed 10 years ago by bill

Owner: changed from sjmiles to bill
Status: newassigned

d._getIeDocumentElementOffset() changes it's return value based on the document scroll, so it returns something like {x: -3, y: 500}... I'll fix although Eugene or James please review.

comment:2 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [16418]) IE8: Fix problem with dojo._abs() when page is scrolled. Fixes #8429, #8441, #8460. Refs #8047 but that is still an open issue. !strict

Note: See TracTickets for help on using tickets.