I am trying to solve this issue as well. What the user is saying is this:
Let's say you have a div that is 300px by 200px and the top and left position is: 100, 100.
If you rotate it from the center, the top and left positions of the div has now changed, yet Mozilla still returns the pre-rotated top/left positions. Chrome actually returns the correct values after rotation, but FireFox does not.
If you inspect the element with FireBug, the highlighted area is the div also pre-rotation. So there doesn't appear to be any normal way to get the top and left positions after rotating, unless there is some kind of formula that could calculate it based on the height and width and the angle.
Does anyone know of such a formula, or another way to solve this issue?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…