tor-browser

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

scope-without-scoping.html (653B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3 <meta charset="UTF-8">
      4 <title>Selectors Level 4: :scope without scoping</title>
      5 <link rel="author" title="Xidorn Quan" href="mailto:me@upsuper.org">
      6 <link rel="author" title="Mozilla" href="https://www.mozilla.org">
      7 <link rel="help" href="https://drafts.csswg.org/selectors-4/#scope-pseudo">
      8 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
      9 <style>
     10  div {
     11    width: 100px;
     12    height: 100px;
     13    background: red;
     14  }
     15  :scope > body > div {
     16    background: green;
     17  }
     18 </style>
     19 <body>
     20 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     21 <div></div>
     22 </body>
     23 </html>