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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/contenteditable-caret-position.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/contenteditable-caret-position.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/contenteditable-caret-position.html b/third_party/WebKit/LayoutTests/accessibility/contenteditable-caret-position.html
index 7a53eb795dce84e7377141354218db6118c07450..25d2833e07ca5752ee8650b2375161628c014fa7 100644
--- a/third_party/WebKit/LayoutTests/accessibility/contenteditable-caret-position.html
+++ b/third_party/WebKit/LayoutTests/accessibility/contenteditable-caret-position.html
@@ -262,12 +262,12 @@
assert_equals(mainAccessible.selectionEnd,
mainOffset + caretPosition);
- assert_equals(rootAccessible.selectionAnchorObject.stringValue,
- "AXValue: " + contenteditableLines[lineNumber].textContent.trim());
+ assert_equals(rootAccessible.selectionAnchorObject.name,
+ contenteditableLines[lineNumber].textContent.trim());
assert_equals(rootAccessible.selectionAnchorOffset,
characterOffset);
- assert_equals(rootAccessible.selectionFocusObject.stringValue,
- "AXValue: " + contenteditableLines[lineNumber].textContent.trim());
+ assert_equals(rootAccessible.selectionFocusObject.name,
+ contenteditableLines[lineNumber].textContent.trim());
assert_equals(rootAccessible.selectionFocusOffset,
characterOffset);
}

Powered by Google App Engine
This is Rietveld 408576698