tor-browser

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

padding-right-047.xht (1788B)


      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: Padding-right using millimeters with a minimum plus one value, 1mm</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-08-25 -->
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-padding-right" />
      8         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#padding-properties" />
      9         <link rel="match" href="padding-left-047-ref.xht"/>
     10         <meta name="assert" content="The 'padding-right' property handles a minimum plus one length value in millimeters." />
     11         <style type="text/css">
     12             div
     13             {
     14                 height: 50px;
     15                 width: 0;
     16             }
     17             .parent1
     18             {
     19                 background: red;
     20                 min-width: 3px
     21             }
     22             .test1, .test2
     23             {
     24                 padding-right: 1mm;
     25             }
     26             .test1
     27             {
     28                 background: green;
     29             }
     30             .test2
     31             {
     32                 background: red;
     33             }
     34             .child1
     35             {
     36                 background: green;
     37                 position: relative;
     38                 width: 4px;
     39             }
     40         </style>
     41     </head>
     42     <body>
     43         <p>Test passes if there is <strong>no red</strong>.</p>
     44         <div class="parent1">
     45             <div class="test1"></div>
     46         </div>
     47         <div class="test2">
     48             <div class="child1"></div>
     49         </div>
     50     </body>
     51 </html>