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

Unified Diff: LayoutTests/accessibility/visible-elements.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/visible-elements.html
diff --git a/LayoutTests/accessibility/visible-elements.html b/LayoutTests/accessibility/visible-elements.html
deleted file mode 100644
index 81344f570824de1b535d8108e0b81f25a2a57f24..0000000000000000000000000000000000000000
--- a/LayoutTests/accessibility/visible-elements.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<html>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
-</script>
-<body id="body">
- <!-- This test ensures that a plugin that is not accessible, will not appear in the AX hierachy-->
-
- <a href="#a">more</a><BR>
- <div id="hiddenDiv" style="visibility: hidden; left: 0px; "><a href="#b">hello</a></div>
-
- <div id="result"></div>
-
-
- <script>
- if (window.accessibilityController) {
- var result = document.getElementById("result");
-
- var body = document.getElementById("body");
- body.focus();
- var links1 = accessibilityController.focusedElement.attributesOfDocumentLinks();
-
- // toggle the div
- var divElement = document.getElementById("hiddenDiv");
- divElement.style.visibility = "visible";
-
- accessibilityController.focusedElement.attributesOfChildren();
- var links2 = accessibilityController.focusedElement.attributesOfDocumentLinks();
- if (links1 != links2) {
- result.innerHTML += "PASS";
- }
- else {
- result.innerHTML += "FAIL - The div's visibility was toggled, but the new link did not appear\n\n";
- result.innerHTML += "Links1: " + links1 + "\n\nLinks2: " + links2 + "\n\n";
- }
- }
- </script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/accessibility/transformed-element-expected.txt ('k') | LayoutTests/accessibility/visible-elements-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698