tor-browser

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

clip-border-area-multiple-backgrounds.html (809B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>CSS Backgrounds Test:  background-clip:border-area</title>
      5 <link rel="help" href="https://drafts.csswg.org/css-backgrounds-4/#background-clip">
      6 <link rel="match" href="clip-border-area-multiple-backgrounds-ref.html">
      7 <meta name="assert" content="Multiple backgrounds, some using border-area, are layered correctly.">
      8 <style>
      9    .test {
     10        display: inline-block;
     11        margin: 20px;
     12        width: 300px;
     13        height: 200px;
     14        box-sizing: border-box;
     15        border: 50px dotted transparent;
     16        background-clip: border-area, border-box, content-box;
     17        background-color: red;
     18        background-image: url(../resources/blue-100.png), url(../resources/green-100.png), none;
     19    }
     20 </style>
     21 </head>
     22 <body>
     23 
     24 <div class="test"></div>
     25 
     26 </body>
     27 </html>