Skip to content

Commit

Permalink
Add a test for :autofill / :-webkit-autofill.
Browse files Browse the repository at this point in the history
There's no way to trigger autofilling from WPT so this is as much as we
can test.
  • Loading branch information
emilio committed Jan 11, 2021
1 parent 27705d1 commit 6e30c0e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions html/semantics/selectors/pseudo-classes/autofill.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<meta charset=utf-8>
<title>Selector: pseudo-classes (:autofill)</title>
<link rel=help href="https://html.spec.whatwg.org/multipage/#pseudo-classes">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
test_valid_selector(":autofill");
test_valid_selector(":-webkit-autofill", [":autofill", ":-webkit-autofill"]);
</script>

0 comments on commit 6e30c0e

Please sign in to comment.