tor-browser

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

padding-009.xht (1037B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: CSS Parsing: Negative Padding</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-08-21 -->
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/parsing/001.xml" type="application/xhtml+xml"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" />
      9   <link rel="match" href="padding-009-ref.xht" />
     10 
     11   <meta name="flags" content="invalid"/>
     12   <style type="text/css">
     13    .test { background: green; padding: 8px; padding: -8px; display: block; }
     14    .test > .inner { background: white; display: block; }
     15   </style>
     16  </head>
     17  <body>
     18   <div class="test">
     19    <div class="inner">
     20     Test passes if this sentence has a <strong>green border</strong>.
     21    </div>
     22   </div>
     23  </body>
     24 </html>