tor-browser

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

multicol-rule-shorthand-001.xht (2165B)


      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-rule' shorthand</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-15 -->
      7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#crw" title="4.4. 'column-rule-width'" />
      8   <link rel="match" href="multicol-rule-samelength-001-ref.xht" />
      9   <meta name="flags" content="ahem invalid" />
     10   <meta name="assert" content="Tests that column rules are not displayed for invalid properties and values."/>
     11   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12   <style type="text/css"><![CDATA[
     13   body {margin: 8px;}
     14 
     15   p
     16   {
     17   line-height: 1.25em;
     18   margin: 1em 0em;
     19   }
     20 
     21   strong {line-height: 1;}
     22 
     23   div#red-overlapped-reference
     24   {
     25   background-color: red;
     26   height: 100px;
     27   width: 100px;
     28   }
     29 
     30   div#test-overlapping-green
     31   {
     32   bottom: 100px;
     33   color: transparent;
     34   font: 1.25em/1 Ahem; /* equivalent to 20px/1 Ahem */
     35   position: relative;
     36   right: 40px;
     37   width: 9em;
     38 
     39   column-count: 2;
     40   column-gap: 5em;
     41   column-rule: green solid 5em;
     42   column-rule: normal red 5em;
     43   column-rule: normal 5em red;
     44   column-rule: red normal 5em;
     45   column-rule: red 5em normal;
     46   column-rule: 5em normal red;
     47   column-rule: 5em red normal;
     48   column-rule: red 5em red solid;
     49   column-rule: red 5em solid red;
     50   column-rule: red solid 5em red;
     51   column-rule: red solid red 5em;
     52   column-rule: 5em red solid red;
     53   column-rule: solid red 5em red;
     54   }
     55   ]]></style>
     56  </head>
     57 
     58  <body>
     59 
     60   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     61 
     62   <div id="red-overlapped-reference"></div>
     63 
     64   <div id="test-overlapping-green">Le ft Co lu mn Ri gh Co lu mn</div>
     65 
     66   <!--
     67 
     68   Expected results
     69     column-gap
     70     column-rule
     71      v=====v
     72   *************
     73   |Le|     |Ri|
     74   |ft|     |gh|
     75   |Co|     |Co|
     76   |lu|     |lu|
     77   |mn|     |mn|
     78   *************
     79 
     80   -->
     81 
     82  </body>
     83 </html>