A CSS rotation is applied to a video element and the event sender clicks at a fixed position supposed to be the play button. But this depends on the controls. So we should instead calculate the position depending on the video dimensions and rotation angle.
Created attachment 75942 [details] proposed patch
Comment on attachment 75942 [details] proposed patch Would something like this make sense Eric? If so can you please check the test still passes on mac?
Comment on attachment 75942 [details] proposed patch This doesn't work on the Mac. The mouse is clicked at {2,182}, but the center of the play/pause button is at about {194,24}. I think the only way to make this work for all ports will be for DRT to get the location of the control elements from the shadow tree at runtime.
r85015 fixed this test like Eric suggested. I'll unskip it on GTK since it passes fine now! *** This bug has been marked as a duplicate of bug 58590 ***
Committed r85594: <http://trac.webkit.org/changeset/85594>