tor-browser

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

scope-featureless.html (459B)


      1 <!DOCTYPE html>
      2 <title>:scope Selector Cannot be Featureless Outside of @scope</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-cascade-6/#scoped-styles">
      4 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1904228">
      5 <link rel="match" href="scope-featureless-ref.html">
      6 <style>
      7 :root {
      8  background: white;
      9  color: white;
     10 }
     11 
     12 :scope {
     13  --font-color: black;
     14 }
     15 
     16 #dut {
     17  color: var(--font-color);
     18 }
     19 </style>
     20 <div id="dut">Test</div>