tor-browser

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

c5509-padn-l-001.xht (2384B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: padding-left</title>
      5 
      6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#padding-left"/>
      7   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
      8   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      9   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-07 -->
     10   <link rel="match" href="c5509-padn-l-001-ref.xht" />
     11 
     12   <meta name="flags" content="ahem" />
     13 
     14   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     15   <style type="text/css"><![CDATA[
     16    div.control { margin: 1.25em; }
     17    p.criteria { color: navy; }
     18    p, ul, li { margin: 0; padding: 0; list-style: none; }
     19 
     20    div.test { border: solid black; width: 10em; background-color: orange; font: 1.25em/1 Ahem; color: teal; margin: 1em; }
     21    ul.test, li.test { padding-left: 2em; text-align: left; }
     22    li.test { background-color: aqua; }
     23    ul.test { background-color: yellow; }
     24 
     25    .control { border: solid; width: 12.5em; background: red; }
     26    .control div { border-style: none solid; height: 1.25em; }
     27    .control .a { border-color: red yellow red yellow; border-width: 0 8.75em 0 2.5em; }
     28    .control .aa { border-color: red red red teal; border-width: 0 0 0 1.25em; }
     29    .control .b { border-color: red aqua red yellow; border-width: 0 6.25em 0 2.5em; }
     30    .control .bb { border-color: red teal red aqua; border-width: 0 1.25em 0 2.5em; }
     31 
     32   ]]></style>
     33   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#padding-properties" title="8.4 Padding properties: 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', and 'padding'"/>
     34   <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" title="16.2 Alignment: the 'text-align' property"/>
     35  </head>
     36  <body>
     37   <p class="criteria">The following two diagrams should look identical.</p>
     38   <div class="test">
     39    <ul class="test">
     40     <li>-</li>
     41     <li class="test">-</li>
     42     <li>-</li>
     43    </ul>
     44   </div>
     45   <div class="control">
     46    <div class="a"><div class="aa"></div></div>
     47    <div class="b"><div class="bb"></div></div>
     48    <div class="a"><div class="aa"></div></div>
     49   </div>
     50  </body>
     51 </html>