tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

parse-where.html (770B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Selectors: The Specificity-adjustment Pseudo-class: ':where()'</title>
      4 <link rel="help" href="https://drafts.csswg.org/selectors/#zero-matches">
      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(':where(ul,ol,.list) > [hidden]',
     10      ':where(ul, ol, .list) > [hidden]');
     11  test_valid_selector(':where(:hover,:focus)',
     12      ':where(:hover, :focus)');
     13  test_valid_selector('a:where(:not(:hover))');
     14 
     15  test_valid_selector(':where(#a)');
     16  test_valid_selector('.a.b ~ :where(.c.d ~ .e.f)');
     17  test_valid_selector('.a.b ~ .c.d:where(span.e + .f, .g.h > .i.j .k)');
     18 </script>