| Index: third_party/WebKit/LayoutTests/accessibility/in-page-link-target.html
|
| diff --git a/third_party/WebKit/LayoutTests/accessibility/in-page-link-target.html b/third_party/WebKit/LayoutTests/accessibility/in-page-link-target.html
|
| index 68cf85187f9f4b332761041b6542331268fe10a0..9270c0462f9a8c0dbbd5dfd3fa67774df76f0c75 100644
|
| --- a/third_party/WebKit/LayoutTests/accessibility/in-page-link-target.html
|
| +++ b/third_party/WebKit/LayoutTests/accessibility/in-page-link-target.html
|
| @@ -57,17 +57,20 @@ test(function() {
|
| assert_not_equals(anchor, undefined);
|
| var target = anchor.inPageLinkTarget;
|
| assert_not_equals(target, undefined);
|
| - assert_equals(target.role, 'AXRole: AXStaticText');
|
| - assert_equals(target.name, 'After empty span');
|
| -}, 'Test finding an approximate target when the real one is an empty span.');
|
| + assert_equals(target.role, 'AXRole: AXGroup');
|
| + assert_equals(target.name, '');
|
| +}, 'Test finding the target when it is an empty span.');
|
|
|
| test(function() {
|
| var anchor = accessibilityController.accessibleElementById('anchor5');
|
| assert_not_equals(anchor, undefined);
|
| var target = anchor.inPageLinkTarget;
|
| assert_not_equals(target, undefined);
|
| - assert_equals(target.role, 'AXRole: AXStaticText');
|
| - assert_equals(target.name, 'Span with content');
|
| + assert_equals(target.role, 'AXRole: AXGroup');
|
| + var child = target.childAtIndex(0);
|
| + assert_not_equals(child, undefined);
|
| + assert_equals(child.role, 'AXRole: AXStaticText');
|
| + assert_equals(child.name, 'Span with content');
|
| }, 'Test finding the target when it is a span with content.');
|
|
|
| test(function() {
|
|
|