tor-browser

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

multicol-width-count-002.xht (1631B)


      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 column-width (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="https://www.w3.org/TR/css-multicol-1/#cc" title="3.2 'column-count'" />
      8   <link rel="match" href="multicol-count-002-ref.xht" />
      9   <meta name="asset" content="Test that column-count acts as a max when combined with column-width."/>
     10   <meta name="flags" content="ahem" />
     11   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12   <style type="text/css"><![CDATA[
     13   html {background-color: white;}
     14 
     15   body
     16   {
     17   background-color: black;
     18   font: 1.25em/1 Ahem;
     19   padding-right: 1em;
     20   width: 20em;
     21   }
     22 
     23   div
     24   {
     25   background-color: yellow;
     26   color: black;
     27   column-count: 4;
     28   column-gap: 0;
     29   column-width: 4em; /* would create 5 columns if column-count was not acting as a max */
     30   }
     31   ]]></style>
     32  </head>
     33  <body>
     34   <div>55555 1&nbsp;&nbsp;&nbsp; 1 22&nbsp; 1 22&nbsp; 1&nbsp;&nbsp;&nbsp; 1 333 1 333 1 333 55555 55555 1&nbsp;&nbsp;&nbsp; 1 22&nbsp; 1 22&nbsp; 1&nbsp;&nbsp;&nbsp; 1 22&nbsp; 1 22&nbsp; 1 22&nbsp; 55555 55555 1&nbsp;&nbsp;&nbsp; 1 333 1 333 1&nbsp;&nbsp;&nbsp; 4444 4444 1&nbsp;&nbsp;&nbsp; 55555 55555 1&nbsp;&nbsp;&nbsp; 1 333 1 333 1&nbsp;&nbsp;&nbsp; 4444 4444 1&nbsp;&nbsp;&nbsp; 55555
     35   </div>
     36  </body>
     37 </html>