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