Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/selectors/parsing/parse-class.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Selectors: Class selectors</title>
<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>