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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/table-caption.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/table-caption.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/table-caption.html b/third_party/WebKit/LayoutTests/accessibility/table-caption.html
index 551bea5d58651d059ab9ac335aba493ae667eb26..a75ffe4d39144d859b5b494e9c799aac950c0c63 100644
--- a/third_party/WebKit/LayoutTests/accessibility/table-caption.html
+++ b/third_party/WebKit/LayoutTests/accessibility/table-caption.html
@@ -21,8 +21,8 @@
if (window.accessibilityController) {
var table = accessibilityController.accessibleElementById("table");
shouldBe("table.childrenCount", "5");
- window.captionText = table.childAtIndex(0).childAtIndex(0).stringValue;
- shouldBe("captionText", "'AXValue: TableCaption'");
+ window.captionText = table.childAtIndex(0).childAtIndex(0).name;
+ shouldBe("captionText", "'TableCaption'");
// Clear the HTML for cleaner results.
document.getElementById("content").innerHTML = "";
}
@@ -32,4 +32,3 @@
</body>
</html>
-

Powered by Google App Engine
This is Rietveld 408576698