tor-browser

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

background-clip-002.html (1321B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>CSS Backgrounds and Borders Test: background-clip - initial value</title>
      6    <link rel="author" title="Intel" href="http://www.intel.com">
      7    <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-11-09 -->
      8    <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-clip" title="3.7. Painting Area: the 'background-clip' property">
      9    <link rel="match" href="reference/background-clip-002-ref.html">
     10    <meta name="assert" content="Background-clip with initial value implies to paint the background within (clipped to) the border box.">
     11    <style>
     12        #ref-overlapped-red {
     13            background-color: red;
     14            height: 160px;
     15            width: 160px;
     16        }
     17        #test-overlapping-green {
     18            background-color: green;
     19            border: transparent dotted 5px;
     20            bottom: 160px;
     21            height: 100px;
     22            padding: 25px;
     23            position: relative;
     24            width: 100px;
     25        }
     26    </style>
     27  </head>
     28  <body>
     29    <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     30    <div id="ref-overlapped-red"></div>
     31    <div id="test-overlapping-green"></div>
     32  </body>
     33 </html>