tor-browser

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

at-supports-selector-001.html (740B)


      1 <!doctype html>
      2 <title>CSS Conditional Test: @supports selector() with compound selector</title>
      3 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
      4 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
      5 <link rel="author" href="https://mozilla.org" title="Mozilla">
      6 <link rel="help" href="https://drafts.csswg.org/css-conditional/#at-supports">
      7 <link rel="match" href="at-supports-001-ref.html">
      8 <style>
      9  div {
     10    background-color:red;
     11    height:100px;
     12    width:100px;
     13  }
     14  @supports selector(a:link.class#ident) {
     15    div { background: green };
     16  }
     17 </style>
     18 <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
     19 <div></div>