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

Unified Diff: LayoutTests/accessibility/input-type-password-selection.html

Issue 1050123003: Rewrote password layout test and removed obsolete tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Renamed some more tests for consistency. Created 5 years, 8 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/input-type-password-selection.html
diff --git a/LayoutTests/accessibility/input-type-password-selection.html b/LayoutTests/accessibility/input-type-password-selection.html
deleted file mode 100644
index 5c0bba4f0029ba08811f1398ac64842759203d57..0000000000000000000000000000000000000000
--- a/LayoutTests/accessibility/input-type-password-selection.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!DOCTYPE HTML PUBLIC>
-<html>
-<head>
-<script src="../resources/js-test.js"></script>
-</head>
-<body>
-
-<p>This tests that the password fields return their selection.</p>
-
-<input id="password" type="password" value="secret">
-
-<div id="console"></div>
-<script>
- if (window.testRunner && window.accessibilityController) {
- var password = document.getElementById("password");
- var axPassword = accessibilityController.accessibleElementById("password");
-
- password.setSelectionRange(0, 0);
- shouldBe("axPassword.selectedTextRange", "\"{0, 0}\"");
-
- password.setSelectionRange(6, 6);
- shouldBe("axPassword.selectedTextRange", "\"{6, 0}\"");
-
- password.setSelectionRange(2, 6);
- shouldBe("axPassword.selectedTextRange", "\"{2, 4}\"");
- }
-
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698