tor-browser

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

scope-implicit-006-print.html (740B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="David Shin" href="mailto:dshin@mozilla.com">
      3 <link rel="help" href="drafts.csswg.org/css-cascade-6/#scoped-styles">
      4 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
      5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1930618">
      6 <div>
      7 <style id="os">
      8  @scope {
      9    .a {
     10      width: 100px;
     11      height: 100px;
     12      background: green;
     13    }
     14  }
     15 </style>
     16 <p>Test passes if there is a filled green square.</p>
     17 <div class="a"></div>
     18 <div>
     19  <template shadowrootmode=open>
     20    <style id="is">
     21      @scope {
     22        .a {
     23          width: 100px;
     24          height: 100px;
     25          background: red;
     26        }
     27      }
     28    </style>
     29  </template>
     30 </div>
     31 </div>