tor-browser

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

at-supports-selector-file-selector-button.html (828B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>CSS Test (Conditional Rules): In @supports, ::file-selector-button can be parsed successfully</title>
      5    <link rel="author" title="Tim Nguyen" href="https://github.com/nt1m">
      6    <link rel="help" href="https://drafts.csswg.org/css-conditional-3/#at-supports">
      7    <link rel="help" href="https://drafts.csswg.org/css-pseudo/#file-selector-button-pseudo">
      8    <link rel="match" href="at-supports-001-ref.html">
      9    <style>
     10      div {
     11        background: red;
     12        height: 100px;
     13        width: 100px;
     14      }
     15      @supports selector(input::file-selector-button) {
     16        div { background-color:green; }
     17      }
     18    </style>
     19  </head>
     20  <body>
     21    <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
     22    <div></div>
     23  </body>
     24 </html>