tor-browser

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

css3-background-origin-content-box-ref.html (948B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3  <head>
      4    <meta charset="utf-8" />
      5    <title>CSS Backgrounds Test:background origin property with value content-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: 20px;
     19                left: 20px;
     20            }
     21    </style>
     22  </head>
     23  <body>
     24    <p>
     25      The test passes if there are some paddings between the green square and the dashed border.
     26    </p>
     27    <div>
     28      <img src="../support/green-60-60.png" alt="green square" />
     29    </div>
     30  </body>
     31 </html>