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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/focus-autofocus.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: 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>

Powered by Google App Engine
This is Rietveld 408576698