RESOLVED FIXED 50706
[GTK] media/video-controls-transformed.html fails
https://bugs.webkit.org/show_bug.cgi?id=50706
Summary [GTK] media/video-controls-transformed.html fails
Philippe Normand
Reported 2010-12-08 12:02:15 PST
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.
Attachments
proposed patch (2.83 KB, patch)
2010-12-08 12:05 PST, Philippe Normand
eric.carlson: review-
Philippe Normand
Comment 1 2010-12-08 12:05:35 PST
Created attachment 75942 [details] proposed patch
Philippe Normand
Comment 2 2010-12-08 12:06:34 PST
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?
Eric Carlson
Comment 3 2010-12-24 12:06:15 PST
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.
Philippe Normand
Comment 4 2011-05-03 02:13:03 PDT
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 ***
Philippe Normand
Comment 5 2011-05-03 02:31:47 PDT
Note You need to log in before you can comment on or make changes to this bug.