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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/canvas-fallback-content-labels.html

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt 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/canvas-fallback-content-labels.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/canvas-fallback-content-labels.html b/third_party/WebKit/LayoutTests/accessibility/canvas-fallback-content-labels.html
index 136eb02fd5cfabf617fe3bf282f7613a88cdf038..d3452e2322425beee0571bd57ed610c5c9e19374 100644
--- a/third_party/WebKit/LayoutTests/accessibility/canvas-fallback-content-labels.html
+++ b/third_party/WebKit/LayoutTests/accessibility/canvas-fallback-content-labels.html
@@ -3,7 +3,7 @@
<body>
<script src="../resources/js-test.js"></script>
-<div>
+<div id="container">
<label id="nothing1">Nothing</label>
<label id="text_label1">
Text
@@ -81,8 +81,8 @@ if (window.testRunner && window.accessibilityController) {
return;
}
shouldBe("axElement2.role", "axElement1.role");
- shouldBe("collapseWhitespace(axElement2.deprecatedTitle)", "collapseWhitespace(axElement1.deprecatedTitle)");
- shouldBe("axElement2.deprecatedTitleUIElement", "axElement1.deprecatedTitleUIElement");
+ shouldBe("collapseWhitespace(axElement2.name)", "collapseWhitespace(axElement1.name)");
+ shouldBe("axElement2.nameElementCount()", "axElement1.nameElementCount()");
debug("");
}
@@ -99,6 +99,8 @@ if (window.testRunner && window.accessibilityController) {
check("list1", "list2");
check("label_for1", "label_for2");
check("text_for1", "text_for2");
+
+ document.getElementById("container").style.display = "none";
}
</script>

Powered by Google App Engine
This is Rietveld 408576698