mlms13/JS-Autocomplete — Issue #2: Position is incorrect in IE7
Author: mlms13
Created: 2012-02-09 16:58:41+00:00
State: open

element.offsetLeft (and probably offsetTop as well) are calculated incorrectly in IE 7. Instead of returning the distance relative to the document, it calculates the distance relative to the parent. If we ever move to jQuery, its .offset() works correctly. In the meantime, we'll probably want to implement the quirksmode solution: http://www.quirksmode.org/js/findpos.html