views:

42

answers:

0

I've seen varying behavior between browsers when clicking an input tag with the image type.

On some browsers, it returns the x,y pixel offset of the image in question. On Chrome it returns negative value for y and seemingly nonsensical x values.

Is this a Chrome bug, or is there some rhyme or reason for this behavior?

EDIT: This occurs in a Mechanical Turk HIT, which rewrites my HTML but I don't think enough to account for this behavior.