maqetta/maqetta — Issue #1540: Firefox adds .2 to pageX - affects snapping
Author: JonFerraiolo
Created: 2012-01-11 14:17:35+00:00
State: open
Labels: Priority Med, Visual Editor

Need to investigate this.

The dojo.coords() call in Snap.js is returning floating point values for x and y such as x:20.199999 even though there is no evidence of any fractional values anywhere in the document. According to Dojo's docs, the x and y values come from pageX and pageY. Looking at Firebug's various panels, I don't see a reason for the fractional values.