
There is a rectangle located on the page at specific x,y coordinate and a width and height obtained via getBoundingClientRect. After his turn at a certain degree all data obtained again using getBoundingClientRect are other (coordinates and size). I understand that the program of school geometry (probably projection), but wedge caught not for children. Help. How can I get the correct data, which was before the rotation?