tor-browser

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

import-conditional-002.html (948B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>CSS Cascade: @import with basic supports condition</title>
      6  <link rel="help" href="https://www.w3.org/TR/css-cascade-4/#conditional-import">
      7  <link rel="help" href="https://www.w3.org/TR/css-cascade-5/#conditional-import">
      8  <link rel="match" href="reference/ref-filled-green-100px-square.xht">
      9  <meta name="assert" content="Test passes on visual UAs if @import can be combined with a supports condition.">
     10  <style>
     11  @import "support/test-red.css";
     12  @import "support/test-green.css"
     13    supports(display: block);
     14  @import "support/test-red.css"
     15    supports(foo: bar);
     16  div {
     17    box-sizing: border-box;
     18    width: 100px;
     19    height: 100px;
     20    padding: 5px; /* Avoids text antialiasing issues */
     21    background: red;
     22  }
     23  </style>
     24 </head>
     25 <body>
     26  <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     27 
     28  <div class="test"></div>
     29 </body>
     30 </html>