tor-browser

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

multicol-fill-001.xht (1613B)


      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 Multi-column Layout Test: column-fill: balance with set height (basic)</title>
      5   <link rel="author" title="Hakon Wium Lie" href="mailto:howcome@opera.com" />
      6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-08-25 -->
      7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#cf" title="7.1 'column-fill'" />
      8   <link rel="match" href="multicol-fill-001-ref.xht" />
      9   <meta name="flags" content="ahem" />
     10   <meta name="assert" content="This test checks that content is balanced into all columns of a multi-column element with a set height thanks to 'column-fill: balance'." />
     11   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12   <style type="text/css"><![CDATA[
     13   div#test, table#reference
     14   {
     15   background-color: yellow;
     16   color: lime;
     17   font: 1.25em/1 Ahem;
     18   height: 5em;
     19   margin: 1em 0em;
     20   width: 20em;
     21   }
     22 
     23   div#test
     24   {
     25   columns: 2;
     26   column-fill: balance;
     27   column-gap: 0em;
     28 
     29   /*
     30 
     31   N == 2;
     32 
     33   W == 10em;
     34 
     35   */
     36   }
     37 
     38   table
     39   {
     40   border-spacing: 0em;
     41   table-layout: fixed;
     42   }
     43 
     44   td
     45   {
     46   padding: 0em;
     47   vertical-align: top;
     48   }
     49   ]]></style>
     50  </head>
     51  <body>
     52 
     53   <p>Test passes if the 2 rectangles are <strong>identical</strong>.</p>
     54 
     55   <div id="test">A<br />B<br />C<br />D<br />E<br />F</div>
     56 
     57   <table id="reference">
     58     <tr>
     59       <td>G<br />H<br />I</td>
     60       <td>J<br />K<br />L</td>
     61     </tr>
     62   </table>
     63 
     64  </body>
     65 </html>