tor-browser

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

clipping-016.xht (802B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3 <head>
      4 <title>CSS Test: 'clip': Basic Test</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/clipping/016.html" type="text/html"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#clipping" />
      8 <style type="text/css">
      9 .clip {
     10   width: 60px;
     11   height: 60px;
     12   background: url(support/60x60-gg-rr.png) no-repeat red;
     13   position: absolute;
     14   clip: rect(0px, 60px, 30px, 0px);
     15 }
     16 </style>
     17 </head>
     18 <body>
     19 
     20 <p>Test passes if there is <strong>a green rectangle</strong> and <strong>no red</strong>.</p>
     21 
     22 <div class="clip"></div></body>
     23 </html>