Bug 30680

Summary: media/audio-delete-while-step-button-clicked.html test has hard-coded values
Product: WebKit Reporter: Alejandro G. Castro <alex>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: eric.carlson, eric, pnormand, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   

Alejandro G. Castro
Reported 2009-10-22 10:27:56 PDT
In gtk port we have detected a situation where the click on the UI controls goes to the audio node but it does not hit any button, in this case the test fails: ... var right = audio.offsetLeft + audio.offsetWidth; var bottom = audio.offsetTop + audio.offsetHeight; var x = right - 8; var y = bottom - 8; ... Probably we should move this test to Apple specific and each platform should create one depending on the layout of the buttons. With Gtk+ this code works: ... var x = right - 17; var y = bottom - 8; ...
Attachments
Eric Seidel (no email)
Comment 1 2009-10-22 10:35:20 PDT
Can we just find the middle of the element? Or use some more flexible math here?
Eric Carlson
Comment 2 2009-10-22 11:25:04 PDT
https://bugs.webkit.org/show_bug.cgi?id=28220 is about exactly this problem, though I don't have a solution for the problem yet.
Philippe Normand
Comment 3 2009-11-09 02:53:11 PST
*** Bug 30247 has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 4 2011-05-03 03:44:18 PDT
*** This bug has been marked as a duplicate of bug 28220 ***
Note You need to log in before you can comment on or make changes to this bug.