tor-browser

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

scope-implicit-004-print.xhtml (633B)


      1 <?xml-stylesheet href="resources/scope-implicit.css" type="text/css"?>
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3 <link rel="author" title="David Shin" href="mailto:dshin@mozilla.com" />
      4 <link rel="help" href="drafts.csswg.org/css-cascade-6/#scoped-styles" />
      5 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html" />
      6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1930618" />
      7 <body>
      8 <div>
      9 <style>
     10 @scope {
     11  .a {
     12    width: 100px;
     13    height: 100px;
     14    background: green;
     15  }
     16 }
     17 </style>
     18 <p>Test passes if there is a filled green square.</p>
     19 <div class="a"></div>
     20 </div>
     21 </body>
     22 </html>