Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html b/third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html
index 7996a325baed8e6765ce3b290177c87a98af1d08..ed0985a614ff774341138fe064ec31ca7c498c20 100644
--- a/third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html
+++ b/third_party/WebKit/LayoutTests/accessibility/inline-text-bidi-bounds-for-range.html
@@ -34,7 +34,7 @@ one two אחתשתיים three four שלושהארבעה
// Get the bounds from the accessibility tree.
var axParagraph = accessibilityController.accessibleElementById(elementId);
var axStaticText = axParagraph.childAtIndex(0);
- var text = axStaticText.stringValue.substr(9);
+ var text = axStaticText.name;
var wordAxIndex = text.indexOf(word);
eval('window.axBounds = ' + axStaticText.boundsForRange(wordAxIndex, wordAxIndex + word.length) + ';');

Powered by Google App Engine
This is Rietveld 408576698