tor-browser

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

multicol-span-all-margin-002.xht (1756B)


      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-span: all' element</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-19 -->
      7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-span" title="6.1. 'column-span'" />
      8   <link rel="match" href="multicol-span-all-margin-002-ref.xht" />
      9   <meta name="flags" content="ahem" />
     10   <meta name="assert" content="The spanning element extends only to the width of the multicol element, despite an item in the fourth column extending into the overflow area." />
     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: navy;
     18   font: 1.25em/1 Ahem;
     19   orphans: 1;
     20   widows: 1;
     21   width: 8em;
     22 
     23   column-count: 4;
     24   column-gap: 0em;
     25 
     26   /*
     27 
     28   N == 4;
     29 
     30   W == 2;
     31 
     32   */
     33   }
     34 
     35   h4
     36   {
     37   font: inherit;
     38   margin: 1em 0;
     39   }
     40 
     41   h4#orange
     42   {
     43   background: orange;
     44   color: orange;
     45   /*
     46   In this test, the glyphs "or" are painted into 4th column box
     47   and the glyphs "ang" are painted in the overflow area.
     48   */
     49   }
     50 
     51   h4#black
     52   {
     53   background: black;
     54   color: black;
     55 
     56   column-span: all;
     57   }
     58 
     59   span {color: blue;}
     60 
     61   span + span {color: pink;}
     62   ]]></style>
     63  </head>
     64 
     65  <body>
     66 
     67   <div>
     68     <span> bl ue bl ue </span>
     69     <span> Pi nk Pi nk </span>
     70     <h4 id="orange"> orang </h4>
     71     <h4 id="black"> black </h4>
     72     na vy na vy
     73     na vy na vy
     74   </div>
     75 
     76  </body>
     77 </html>