summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/parsing/parse-focus-visible.html
blob: 52ac963add29bf7ef2c6828b12977e1b853d8e83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Selectors: :focus-visible pseudo-class</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
  test_valid_selector(':focus-visible');
  test_valid_selector('a:focus-visible');
  test_valid_selector(':focus:not(:focus-visible)');
</script>