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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/contenteditable-selection.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-selection.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/contenteditable-selection.html b/third_party/WebKit/LayoutTests/accessibility/contenteditable-selection.html
index 7879baa250534e36bee36d965aeff44a97d807b7..fd740f23854b7c45996710ca80d159e27abc6a81 100644
--- a/third_party/WebKit/LayoutTests/accessibility/contenteditable-selection.html
+++ b/third_party/WebKit/LayoutTests/accessibility/contenteditable-selection.html
@@ -79,11 +79,11 @@
assert_equals(mainAccessible.selectionStart, 9);
assert_equals(mainAccessible.selectionEnd, 30);
- assert_equals(rootAccessible.selectionAnchorObject.stringValue,
- "AXValue: " + line1.textContent);
+ assert_equals(rootAccessible.selectionAnchorObject.name,
+ line1.textContent);
assert_equals(rootAccessible.selectionAnchorOffset, 0);
- assert_equals(rootAccessible.selectionFocusObject.stringValue,
- "AXValue: " + line3.textContent);
+ assert_equals(rootAccessible.selectionFocusObject.name,
+ line3.textContent);
assert_equals(rootAccessible.selectionFocusOffset, 6);
}, "Test selectNodeContents on a contenteditable.");
</script>
@@ -236,11 +236,11 @@
assert_equals(mainAccessible.selectionStart, start + 9);
assert_equals(mainAccessible.selectionEnd, end + 9);
- assert_equals(rootAccessible.selectionAnchorObject.stringValue,
- "AXValue: " + contenteditableLines[i].textContent);
+ assert_equals(rootAccessible.selectionAnchorObject.name,
+ contenteditableLines[i].textContent);
assert_equals(rootAccessible.selectionAnchorOffset, 0);
- assert_equals(rootAccessible.selectionFocusObject.stringValue,
- "AXValue: " + contenteditableLines[i].textContent);
+ assert_equals(rootAccessible.selectionFocusObject.name,
+ contenteditableLines[i].textContent);
assert_equals(rootAccessible.selectionFocusOffset, 6);
}

Powered by Google App Engine
This is Rietveld 408576698