Fixed a bug in enyo.dom.calcNodePosition that would prevent accurate measurements when using a relativeToNode that was not an offsetParent of the measured node
Enyo-DCO-1.1-Signed-off-by: Ian Beck <ian@onecrayon.com>
Added IE 8-compatible function for compareDocumentPosition
Enyo-DCO-1.1-Signed-off-by: Ian Beck <ian@onecrayon.com>
Merge pull request #242 from onecrayon/calcNodePosition

Bugfix for enyo.dom.calcNodePosition

Reviewed-By: Ben Combee (ben.combee@lge.com)