tor-browser

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

multicol-inherit-001.xht (1499B)


      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: multicolumn and inheritance</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-08 -->
      7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#the-number-and-width-of-columns" />
      8   <link rel="match" href="multicol-inherit-001-ref.xht" />
      9   <meta name="flags" content="ahem" />
     10   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     11   <style type="text/css"><![CDATA[
     12   body
     13   {
     14   font: 1.25em/1 Ahem;
     15   width: 34em;
     16   }
     17 
     18   body > div
     19   {
     20   column-count: 3;
     21   column-gap: 1em;
     22 
     23   /*
     24   N == 3;
     25 
     26     34em : available width
     27   -  2em : horizontal margin of external div
     28   -  2em : 2 column gaps
     29  ==========
     30     30em
     31 
     32   So, W == 10em;
     33 
     34     30em
     35   -  6em : 3 mult by 2em: horizontal margin of 3 internal divs
     36  ==========
     37     24em : 8em for each of the 3 column boxes without their horizontal margins
     38 
     39   */
     40   }
     41 
     42   div
     43   {
     44   background-color: yellow;
     45   color: black;
     46   margin: 0 1em 1em;
     47   orphans: 1;
     48   widows: 1;
     49   }
     50   ]]></style>
     51  </head>
     52  <body>
     53 
     54   <div>
     55 	<div>
     56 		aa aa
     57 		aa aa
     58 		aa aa
     59 		aa aa
     60 	</div>
     61 	<div>
     62 		mm mm
     63 		mm mm
     64 		mm mm
     65 		mm mm
     66 	</div>
     67 	<div>
     68 		xx xx
     69 		xx xx
     70 		xx xx
     71 		xx xx
     72 	</div>
     73   </div>
     74 
     75  </body>
     76 </html>