tor-browser

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

css3-background-clip-border-box-ref.html (930B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3  <head>
      4    <meta charset="utf-8" />
      5    <title>CSS Backgrounds Test:background clip 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            .box {
     10                width: 200px;
     11                height: 200px;
     12                position: relative;
     13            }
     14            .box div {
     15                position: absolute;
     16            }
     17            #div1 {
     18                top: 0;
     19                left: 0;
     20                right: 0;
     21                bottom: 0;
     22                background-color: green;
     23            }
     24    </style>
     25  </head>
     26  <body>
     27    <p>
     28      The test passes if there is only one green box.
     29    </p>
     30    <div class="box">
     31      <div id="div1"></div>
     32    </div>
     33  </body>
     34 </html>