tor-browser

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

multicol-span-float-001.xht (1450B)


      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: floating a column-spanning 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-22 -->
      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-float-001-ref.xht" />
      9   <meta name="flags" content="ahem" />
     10   <meta name="assert" content="This test checks that 'column-span' does not apply to floating element." />
     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   margin-left: 5em;
     20   orphans: 1;
     21   widows: 1;
     22   width: 11em;
     23 
     24   column-count: 2;
     25   column-gap: 1em;
     26 
     27   /*
     28 
     29   N == 2;
     30 
     31   W == 5em;
     32 
     33   */
     34   }
     35 
     36   span
     37   {
     38   display: block;
     39   font: inherit;
     40   margin: 0;
     41   width: 11em;
     42 
     43   column-span: all;
     44   }
     45 
     46   span:first-child
     47   {
     48   background-color: pink;
     49   color: pink;
     50   float: right;
     51   }
     52 
     53   span + span {color: black;}
     54   ]]></style>
     55  </head>
     56  <body>
     57 
     58   <div>
     59 	<span>Pinkk</span>
     60 	<span>black</span>
     61 	navyy navyy
     62   </div>
     63 
     64  </body>
     65 </html>