Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html |
deleted file mode 100644 |
index 803f60a84e05745c2f9842453ea0d1f39d63d17d..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html |
+++ /dev/null |
@@ -1,24 +0,0 @@ |
-<!DOCTYPE html> |
-<meta charset=utf-8> |
-<title>Selector: pseudo-classes (:focus for autofocus)</title> |
-<link rel="author" title="Kent Tamura" href="mailto:tkent@chromium.org"> |
-<link rel=help href="https://html.spec.whatwg.org/multipage/#pseudo-classes"> |
-<link rel=help href="https://html.spec.whatwg.org/multipage/forms.html#autofocusing-a-form-control:-the-autofocus-attribute"> |
-<script src="../../../../../../resources/testharness.js"></script> |
-<script src="../../../../../../resources/testharnessreport.js"></script> |
-<body> |
-<script> |
-// This test can't be merged to focus.html because element.focus() may affect |
-// autofocus behavior. |
-var autofocusTest = async_test(":focus selector should work with an autofocused element."); |
-var input = document.createElement("input"); |
-input.autofocus = true; |
-input.addEventListener("focus", function() { |
- autofocusTest.step(function() { |
- assert_array_equals(document.querySelectorAll(":focus"), [input]) |
- autofocusTest.done(); |
- }); |
-}, false); |
-document.body.appendChild(input); |
-</script> |
-</body> |