tor-browser

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

multicol-table-cell-height-002.xht (1612B)


      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-count and height of table-cell (basic)</title>
      5   <link rel="author" title="Opera Software ASA" href="http://www.opera.com/" />
      6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-08-23 -->
      7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#the-number-and-width-of-columns" title="3. The number and width of columns" />
      8   <link rel="match" href="multicol-table-cell-height-001-ref.xht" />
      9   <meta name="flags" content="ahem" />
     10   <meta name="assert" content="This test checks that 'column-count' applies to elements with 'display' set to 'table-cell' which can be constrained with a set height. A set height for a table-cell still remains the minimum height required by the content, even when its layout is influenced by, conditioned by a multi-column layout." />
     11   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12   <style type="text/css"><![CDATA[
     13   div
     14   {
     15   background-color: yellow;
     16   color: black;
     17   display: table-cell;
     18   font: 1.25em/1 Ahem;
     19   height: 0em;
     20   orphans: 1;
     21   widows: 1;
     22   width: 15em;
     23 
     24   column-count: 2;
     25   column-gap: 2em;
     26 
     27   /*
     28 
     29   N == 2;
     30 
     31   W == 6.5em;
     32 
     33   */
     34   }
     35   ]]></style>
     36  </head>
     37  <body>
     38 
     39   <div>
     40   111 222 333 444 555 666 777 888 999
     41   111 222 333 444 555 666 777 888 999
     42   111 222 333 444 555 666 777 888 999
     43   111 222 333 444 555 666 777 888 999
     44   </div>
     45 
     46  </body>
     47 </html>