tor-browser

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

host-is-006.html (694B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>:host and :is, descendant</title>
      4 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
      5 <link rel="author" title="Mozilla" href="https://mozilla.org">
      6 <link rel="help" href="https://drafts.csswg.org/selectors/#featureless">
      7 <link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
      8 <p>Test passes if there is a filled green square.</p>
      9 <div>
     10  <template shadowrootmode=open>
     11    <style>
     12    #foo {
     13      width: 100px;
     14      height: 100px;
     15      background: red;
     16    }
     17    :host, :root {
     18      #foo {
     19        background: green;
     20      }
     21    }
     22    </style>
     23    <div id=foo></div>
     24  </template>
     25 </div>