summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/parsing/parse-class.html
blob: 00abcf838da18641d96c9381da77d38365329356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Selectors: Class selectors</title>
<link rel="help" href="https://drafts.csswg.org/selectors-3/#class-html">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
  test_valid_selector('*.pastoral',
      ['*.pastoral', '.pastoral']);
  test_valid_selector('.pastoral',
      ['*.pastoral', '.pastoral']);
  test_valid_selector('h1.pastoral');
  test_valid_selector('p.pastoral.marine');
</script>