Changeset 35605

Show
Ignore:
Timestamp:
08/06/08 09:33:19 (4 months ago)
Author:
cfleizach@apple.com
Message:

Fix an accessibility layout test that was failing on different platforms

Location:
trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r35593 r35605  
     12008-08-06  chris fleizach  <cfleizach@apple.com> 
     2 
     3        Reviewed by Beth Dakin 
     4 
     5        Fix AX layout test for multi-platform 
     6 
     7        * accessibility/bounds-for-range-expected.txt: 
     8 
    192008-08-06  Cameron Zwarich  <cwzwarich@uwaterloo.ca> 
    210 
  • trunk/LayoutTests/accessibility/bounds-for-range-expected.txt

    r35491 r35605  
    5252 
    5353---------------------- 
    54 {{-9945.000000, 10850.000000}, {59.000000, 18.000000}} 
    55 {{-9982.000000, 10832.000000}, {215.000000, 18.000000}} 
    56 {{-9992.000000, 10814.000000}, {11.000000, 18.000000}} 
    57 {{-9992.000000, 10778.000000}, {766.000000, 36.000000}} 
    58 {{-9949.000000, 10778.000000}, {1.000000, 18.000000}} 
     54{{-1.000000, -1.000000}, {59.000000, 18.000000}} 
     55{{-1.000000, -1.000000}, {215.000000, 18.000000}} 
     56{{-1.000000, -1.000000}, {11.000000, 18.000000}} 
     57{{-1.000000, -1.000000}, {766.000000, 36.000000}} 
     58{{-1.000000, -1.000000}, {1.000000, 18.000000}} 
    5959 
    6060 
  • trunk/WebKitTools/ChangeLog

    r35589 r35605  
     12008-08-06  chris fleizach  <cfleizach@apple.com> 
     2 
     3        Reviewed by Beth Dakin 
     4 
     5        AX functions shouldn't return position information because it changes 
     6        based on the platform 
     7 
     8        * DumpRenderTree/mac/AccessibilityUIElementMac.mm: 
     9        (AccessibilityUIElement::boundsForRange): 
     10 
    1112008-08-06  Eric Seidel  <eric@webkit.org> 
    212 
  • trunk/WebKitTools/DumpRenderTree/mac/AccessibilityUIElementMac.mm

    r35491 r35605  
    290290        rect = [value rectValue];  
    291291     
    292     NSMutableString* boundsDescription = [NSMutableString stringWithFormat:@"{{%f, %f}, {%f, %f}}",rect.origin.x,rect.origin.y,rect.size.width,rect.size.height]; 
     292    // don't return position information because it is platform dependent 
     293    NSMutableString* boundsDescription = [NSMutableString stringWithFormat:@"{{%f, %f}, {%f, %f}}",-1.0f,-1.0f,rect.size.width,rect.size.height]; 
    293294    return [boundsDescription createJSStringRef]; 
    294295}