<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>30680</bug_id>
          
          <creation_ts>2009-10-22 10:27:56 -0700</creation_ts>
          <short_desc>media/audio-delete-while-step-button-clicked.html test has hard-coded values</short_desc>
          <delta_ts>2011-05-03 03:44:18 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>28220</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alejandro G. Castro">alex</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>eric</cc>
    
    <cc>pnormand</cc>
    
    <cc>xan.lopez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>156916</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2009-10-22 10:27:56 -0700</bug_when>
    <thetext>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;
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156918</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-10-22 10:35:20 -0700</bug_when>
    <thetext>Can we just find the middle of the element?  Or use some more flexible math here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>156948</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2009-10-22 11:25:04 -0700</bug_when>
    <thetext>https://bugs.webkit.org/show_bug.cgi?id=28220 is about exactly this problem, though I don&apos;t have a solution for the problem yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161537</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2009-11-09 02:53:11 -0800</bug_when>
    <thetext>*** Bug 30247 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>397029</commentid>
    <comment_count>4</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2011-05-03 03:44:18 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 28220 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>