[webkit-help] Issues with zooming - offset change

Andre-John Mas ajmas at sympatico.ca
Fri May 28 19:35:50 PDT 2010


Hi,

I have written a small "tiles" game in HTML/JS and while testing it ran into an unexpected behaviour. Basically if I scale the page so that things are smaller, the offsets of some of the tiles change, but by small amounts which are disproportionate to the tile size. The appears to effect Safari and Chrome, but not Opera or Firefox. All were test in a MacOS X 10.6 based computer:

http://ajmas.dyndns.org/misc/tiles-game/

Is it possible there is a rounding issue here? Any ideas?

André-John


More information about the webkit-help mailing list