summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/parsing/parse-sibling.html
blob: 4f7a7a3fbcc14d20282a7eee5ab4f9dd768467bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Selectors: Sibling combinators</title>
<link rel="help" href="https://drafts.csswg.org/selectors-3/#sibling-combinators">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
  test_valid_selector('math + p');
  test_valid_selector('h1.opener + h2');
  test_valid_selector('h1 ~ pre');
</script>