tor-browser

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

border-left-width-036.xht (2114B)


      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: Border-left-width using centimeters with a minimum plus one value, 1cm</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-05-30 -->
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-left-width" />
      8         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" />
      9 
     10         <meta name="assert" content="The 'border-left-width' property supports a minimum plus one length value in centimeters that sets the width of the left border." />
     11         <style type="text/css">
     12             div
     13             {
     14                 height: 50px;
     15             }
     16             .ref1, .ref2
     17             {
     18                 position: absolute;
     19             }
     20             .ref1
     21             {
     22                 background: red;
     23                 width: 37px;
     24                 z-index: -1;
     25             }
     26             .ref2
     27             {
     28                 background: green;
     29                 width: 38px;
     30             }
     31             .test1, .test2
     32             {
     33                 border-left-style: solid;
     34                 border-left-width: 1cm;
     35                 width: 0;
     36             }
     37             .test1
     38             {
     39                 border-left-color: green;
     40             }
     41             .test2
     42             {
     43                 border-left-color: red;
     44             }
     45             #parent
     46             {
     47                 background: red;
     48                 margin-top: 5px;
     49                 width: 38px;
     50             }
     51         </style>
     52     </head>
     53     <body>
     54         <p>Test passes if there are 2 filled green rectangles and <strong>no red</strong>.</p>
     55         <div class="ref1"></div>
     56         <div class="test1"></div>
     57         <div id="parent">
     58             <div class="ref2"></div>
     59             <div class="test2"></div>
     60         </div>
     61     </body>
     62 </html>