tor-browser

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

c5507-padn-r-001.xht (2498B)


      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-right</title>
      5   <meta name="flags" content="ahem" />
      6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#padding-right"/>
      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-03-29 -->
     10   <link rel="match" href="c5507-padn-r-001-ref.xht" />
     11 
     12   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     13   <style type="text/css"><![CDATA[
     14    div.control { margin: 1.25em; }
     15    p.criteria { color: navy; }
     16    p, ul, li { margin: 0; padding: 0; list-style: none; }
     17 
     18    div.test { border: solid black; width: 10em; background-color: orange; font: 1.25em/1 Ahem; color: teal; margin: 1em; }
     19    ul.test, li.test { padding-right: 2em; text-align: right; }
     20    li.test { background-color: aqua; }
     21    ul.test { background-color: yellow; }
     22 
     23    .control { border: solid; width: 12.5em; background: red; }
     24    .control div { border-style: none solid; height: 1.25em; }
     25    .control .a { border-color: red yellow red yellow; border-width: 0 2.5em 0 8.75em; }
     26    .control .aa { border-color: red teal red red; border-width: 0 1.25em 0 0; }
     27    .control .b { border-color: red yellow red aqua; border-width: 0 2.5em 0 6.25em; }
     28    .control .bb { border-color: red aqua red teal; border-width: 0 2.5em 0 1.25em; }
     29 
     30   ]]></style>
     31   <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'"/>
     32   <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" title="16.2 Alignment: the 'text-align' property"/>
     33   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties"/>
     34  </head>
     35  <body>
     36   <p class="criteria">The following two diagrams should look identical.</p>
     37   <div class="test">
     38    <ul class="test">
     39     <li>-</li>
     40     <li class="test">-</li>
     41     <li>-</li>
     42    </ul>
     43   </div>
     44   <div class="control">
     45    <div class="a"><div class="aa"></div></div>
     46    <div class="b"><div class="bb"></div></div>
     47    <div class="a"><div class="aa"></div></div>
     48   </div>
     49  </body>
     50 </html>