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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/th-as-title-ui.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/th-as-title-ui.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/th-as-title-ui.html b/third_party/WebKit/LayoutTests/accessibility/th-as-title-ui.html
deleted file mode 100644
index 124101e72a902446bfabbf1623595fd0d9a7ffdb..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/accessibility/th-as-title-ui.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<html>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-</script>
-<body id="body">
-
- <!-- the AXGroup that comes from the <td> should have the <th> as its title ui element
- In the 2nd case, it should not have a title ui element -->
-
- <table width="90" border="0">
- <tr>
- <th>Header for button</th>
- <td><input type="button" value="button"></td>
- </tr>
- </table>
-
- <table width="90" border="0">
- <tr>
- <td>Header for button</td>
- <td><input type="button" value="button"></td>
- </tr>
- </table>
-
- <div id="result"></div>
-
- <script>
- if (window.accessibilityController) {
- var result = document.getElementById("result");
-
- var body = document.getElementById("body");
- body.focus();
- var group = accessibilityController.focusedElement.childAtIndex(1);
- var group2 = accessibilityController.focusedElement.childAtIndex(3);
- if (group.deprecatedTitleUIElement().allAttributes() != "" && (group2.deprecatedTitleUIElement() == null || group2.deprecatedTitleUIElement().allAttributes() == ""))
- result.innerText += "Pass";
- else
- result.innerText += "Fail";
- }
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698