tor-browser

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

multicol-fill-auto-002.xht (1253B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 <head>
      5 <title>multicolumn | column-fill-auto</title>
      6 <meta name="assert" content="This test checks that columns are not balanced when 'column-fill: auto' is set"/>
      7 <link rel="author" title="howcome@opera.com" href="http://www.opera.com/"/>
      8 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#filling-columns"/>
      9 <link rel="match" href="multicol-fill-auto-002-ref.xht"/>
     10 <meta name="flags" content="ahem"/>
     11 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12 <style type="text/css"><![CDATA[
     13 body>div {
     14 	font-family: Ahem;
     15 	font-size: 1.25em;
     16 	line-height: 1em;
     17 	color: green;
     18 	height: 3em;
     19 	width: 2em;
     20 	orphans: 1;
     21 	widows: 1;
     22 	position: relative;
     23 	margin: 1em;
     24 }
     25 div.col {
     26 	column-count: 2;
     27 	column-fill: auto;
     28 	column-gap: 0;
     29 }
     30 div.red {
     31 	background: red; position: absolute; z-index: -1;
     32 }
     33 ]]></style>
     34 </head>
     35 
     36 <body>
     37 
     38 <div class='col'>
     39 <div class='red' style="top: 0; left: 0; height: 3em; width: 1em;"></div>
     40 <div class='red' style="top: 0; left: 0; height: 1em; width: 2em;"></div>
     41 o<br/>t<br/>
     42 o<br/>t<br/>
     43 </div>
     44 
     45 <div class='ref'>
     46 oo<br/>t<br/>o
     47 </div>
     48 
     49 </body>
     50 </html>