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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/render-counter-text.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/render-counter-text.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/render-counter-text.html b/third_party/WebKit/LayoutTests/accessibility/render-counter-text.html
index ebd38f9172fb7254446aa4adf0e46cde582af044..8af37e765b77ed8cc3bfec820e537a5ec7a8d13b 100644
--- a/third_party/WebKit/LayoutTests/accessibility/render-counter-text.html
+++ b/third_party/WebKit/LayoutTests/accessibility/render-counter-text.html
@@ -24,16 +24,16 @@ ol li { list-style-type: decimial; display: block; }
description("This tests that the text for LayoutCounter is exposed correctly.")
if (window.testRunner && window.accessibilityController) {
-
+
var line1 = accessibilityController.accessibleElementById("line1");
- shouldBe("line1.childAtIndex(0).stringValue", "'AXValue: 1'");
- shouldBe("line1.childAtIndex(1).stringValue", "'AXValue: :'");
- shouldBe("line1.childAtIndex(2).stringValue", "'AXValue: line1'");
+ shouldBe("line1.childAtIndex(0).name", "'1'");
+ shouldBe("line1.childAtIndex(1).name", "':'");
+ shouldBe("line1.childAtIndex(2).name", "'line1'");
var line2 = accessibilityController.accessibleElementById("line2");
- shouldBe("line2.childAtIndex(0).stringValue", "'AXValue: 2'");
- shouldBe("line2.childAtIndex(1).stringValue", "'AXValue: :'");
- shouldBe("line2.childAtIndex(2).stringValue", "'AXValue: line2'");
+ shouldBe("line2.childAtIndex(0).name", "'2'");
+ shouldBe("line2.childAtIndex(1).name", "':'");
+ shouldBe("line2.childAtIndex(2).name", "'line2'");
document.getElementById("container").style.display = "none";
}

Powered by Google App Engine
This is Rietveld 408576698