tor-browser

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

multicol-margin-child-001.xht (1553B)


      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: multi-column and margin collapsing of block children (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-10 -->
      7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#the-multi-column-model" title="2. The multi-column model" />
      8   <link rel="match" href="multicol-margin-child-001-ref.xht" />
      9   <meta name="flags" content="ahem" />
     10   <meta name="assert" content="This test checks that the margin-bottom of a block child in a multi-column element will collapse with the margin-top of a following block child of that same multi-column element if those children are vertically adjacent and if no line boxes, no clearance, no padding and no border separate them." />
     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   border: gray solid 1em;
     17   color: blue;
     18   font: 1.25em/1 Ahem;
     19   width: 10em;
     20 
     21   column-count: 2;
     22   column-fill: balance;
     23   column-gap: 0em;
     24   }
     25 
     26   h4
     27   {
     28   font: inherit;
     29   margin: 1em 0;
     30   }
     31   ]]></style>
     32 
     33  </head>
     34 
     35  <body>
     36 
     37   <div>
     38 	1scol 1scol
     39 	1scol
     40   <h4>	h4h41	</h4>
     41   <h4>	h4h42	</h4>
     42 	2ncol 2ncol
     43 	2ncol 2ncol
     44 	2ncol 2ncol
     45 	2ncol 2ncol
     46   </div>
     47 
     48  </body>
     49 </html>