tor-browser

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

line-height-applies-to-016.xht (1347B)


      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: Line-height applied to elements with 'display' set to 'none'</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#propdef-line-height" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
      8         <link rel="match" href="line-height-applies-to-016-ref.xht" />
      9 
     10         <meta name="assert" content="The 'line-height' property applies to elements with 'display' set to 'none'." />
     11         <style type="text/css">
     12             div
     13             {
     14                 background-color: green;
     15                 color: green;
     16                 height: 100px;
     17                 margin: 100px;
     18                 width: 100px;
     19             }
     20             div div
     21             {
     22                 background-color: red;
     23                 display: none;
     24                 font-size: 72pt;
     25                 line-height: 100px;
     26             }
     27         </style>
     28     </head>
     29     <body>
     30         <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     31         <div>
     32             <div>Filler Text</div>
     33         </div>
     34     </body>
     35 </html>