tor-browser

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

multicol-height-001.xht (1578B)


      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</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-06 -->
      7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-gap" title="4.1. 'column-gap'" />
      8   <link rel="match" href="multicol-height-001-ref.xht" />
      9   <meta name="flags" content="ahem" />
     10   <meta name="assert" content="This test checks that length of column rules is equal to the length of the columns and if a nth column box overflows outside the available width of a multi-column element, then an (n-1)th column rule should be drawn. In this test, a 3rd column box is created outside the content edge of the multi-column element: therefore, a 2nd blue column rule should be drawn accordingly." />
     11   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12   <style type="text/css"><![CDATA[
     13   div
     14   {
     15   color: white;
     16   font: 1.25em/1 Ahem;
     17   height: 8em;
     18   width: 14em;
     19 
     20   column-count: 2;
     21   column-fill: auto;
     22   column-gap: 2em;
     23   column-rule: blue solid 10px;
     24   }
     25   ]]></style>
     26  </head>
     27  <body>
     28   <p>Test passes if there are 2 blue vertical stripes of equal height.</p>
     29 
     30   <div>
     31   1st col 1st col 1st col
     32   1st col 2nd col 2nd col
     33   2nd col 2nd col 3rd col
     34   3rd col 3rd col 3rd col
     35   </div>
     36  </body>
     37 </html>