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

Unified Diff: LayoutTests/accessibility/language-attribute.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 2 months 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: LayoutTests/accessibility/language-attribute.html
diff --git a/LayoutTests/accessibility/language-attribute.html b/LayoutTests/accessibility/language-attribute.html
deleted file mode 100644
index 56fd3613a8bde0519b8500c0b244b688b18012db..0000000000000000000000000000000000000000
--- a/LayoutTests/accessibility/language-attribute.html
+++ /dev/null
@@ -1,53 +0,0 @@
-<html>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- // The Mac port exposes static text objects as an accessible child of an element with text.
- // The Atk port folds static text objects into the parent element.
- function getTextChild(accessibilityObject) {
- if (accessibilityObject.childrenCount)
- return accessibilityObject.childAtIndex(0);
-
- return accessibilityObject;
- }
-</script>
-<head>
-<meta http-equiv="content-language" content="en-gb">
-<body id="body">
-
- <!-- This tests the ability to get the content language for various elements using various techniques -->
-
- cheerio
-
- <p lang="de">germannish</p>
- <p lang="ja">elvish</p>
-
- and more english
-
- <div id="result"></div>
-
- <script>
- if (window.accessibilityController) {
- var body = document.getElementById("body");
- body.focus();
- var webArea = accessibilityController.focusedElement;
- var result = document.getElementById("result");
-
- var text1 = getTextChild(webArea.childAtIndex(0));
- var text2 = getTextChild(webArea.childAtIndex(1));
- var text3 = getTextChild(webArea.childAtIndex(2));
- var text4 = getTextChild(webArea.childAtIndex(3));
-
- if ( webArea.language == "AXLanguage: en-gb" && text1.language == "AXLanguage: en-gb" &&
- text2.language == "AXLanguage: de" && text3.language == "AXLanguage: ja" &&
- text4.language == "AXLanguage: en-gb") {
- result.innerText = "Passed";
- }
- else {
- result.innerText = "Failed. Could not find AXLanguages: " + webArea.language + " - " + text1.language;
- }
- }
- </script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/accessibility/internal-link-anchors2.html ('k') | LayoutTests/accessibility/language-attribute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698