tor-browser

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

css3-background-origin-border-box-ref.html (969B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3  <head>
      4    <meta charset="utf-8" />
      5    <title>CSS Backgrounds Test:background origin property with value border-box</title>
      6    <link rel="author" title="yanshasha" href="mailto:yanshasha133@gmail.com" />
      7    <link rel="reviewer" title="Dayang Shen" href="mailto:shendayang@baidu.com"> <!-- 2013-09-03 -->
      8    <style type="text/css">
      9            div {
     10                width: 100px;
     11                height: 100px;
     12                border: 12px dashed black;
     13                padding: 20px;
     14                position: relative;
     15            }
     16            img {
     17                position: absolute;
     18                top: -12px;
     19                left: -12px;
     20                z-index: -1;
     21            }
     22    </style>
     23  </head>
     24  <body>
     25    <p>
     26      The test passes if some part of the green square is covered by the dashed border.
     27    </p>
     28    <div>
     29      <img src="../support/green-60-60.png" alt="green square" />
     30    </div>
     31  </body>
     32 </html>