Commit d602b686 authored by bdakin@apple.com's avatar bdakin@apple.com

WebKitTools:

2008-06-26  Beth Dakin  <bdakin@apple.com>

        Reviewed by Sam.

        Do not include AXPosition in the dump of all of the accessibility 
        attributes since it is screen-specific.

        * DumpRenderTree/mac/AccessibilityControllerMac.mm:
        (AccessibilityController::allAttributesOfFocusedElement):

LayoutTests:

2008-06-26  Beth Dakin  <bdakin@apple.com>

        Reviewed by Sam.

        Updated results that will pass on all platforms.

        * accessibility/document-attributes-expected.txt:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e0a5162b
2008-06-26 Beth Dakin <bdakin@apple.com>
Reviewed by Sam.
Updated results that will pass on all platforms.
* accessibility/document-attributes-expected.txt:
2008-06-26 Sam Weinig <sam@webkit.org>
Update result after adding new progress events to XMLHttpRequest.
......@@ -4,7 +4,6 @@ AXRoleDescription: HTML content
AXChildren: <array of size 0>
AXHelp:
AXParent: <AXWebArea>
AXPosition: NSPoint: {-10000, 10900}
AXSize: NSSize: {0, 0}
AXTitle:
AXDescription:
......
2008-06-26 Beth Dakin <bdakin@apple.com>
Reviewed by Sam.
Do not include AXPosition in the dump of all of the accessibility
attributes since it is screen-specific.
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::allAttributesOfFocusedElement):
2008-06-26 Beth Dakin <bdakin@apple.com>
Reviewed by Anders.
......
......@@ -85,6 +85,12 @@ JSStringRef AccessibilityController::allAttributesOfFocusedElement()
Vector<UniChar> buffer;
for (NSUInteger i = 0; i < [supportedAttributes count]; ++i) {
NSString* attribute = [supportedAttributes objectAtIndex:i];
// Right now, position provides useless and screen-specific information, so we do not
// want to include it for the sake of universally passing tests.
if ([attribute isEqualToString:@"AXPosition"])
continue;
id valueObject = [accessibilityObject accessibilityAttributeValue:attribute];
NSString* value = descriptionOfValue(valueObject, accessibilityObject);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment