tor-browser

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

image-set-all-options-invalid.html (755B)


      1 <!doctype html>
      2 <title>image-set() is an invalid image if all options are invalid</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-images-4/#image-set-notation">
      4 <link rel="help" href="https://drafts.csswg.org/css-images-4/#invalid-image">
      5 <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#border-image-source">
      6 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
      7 <style>
      8  #target {
      9      width: 100px;
     10      height: 100px;
     11      box-sizing: border-box;
     12      background-color: red;
     13      border: 50px solid green;
     14      border-image: 1 / 10px image-set(url('data:image/png;base64,') type('image/unknown'));
     15  }
     16 </style>
     17 <p>Test passes if there is a filled green square.</p>
     18 <div id="target"></div>