tor-browser

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

c5505-mrgn-003.xht (1881B)


      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: margin</title>
      5   <meta name="flags" content="ahem image" />
      6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#margin"/>
      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="c5505-mrgn-003-ref.xht" />
     11 
     12   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     13   <style type="text/css"><![CDATA[
     14    div { font: 1.25em/1 Ahem; margin: 1em; }
     15    .test { width: 6em; padding: 1em 1em 0; border: solid; }
     16    .test p { margin: -1em; color: orange; background: yellow; }
     17    .control { width: 8em; background: red; border: solid; }
     18    .control .a { width: 4em; height: 1em; vertical-align: bottom; }
     19    .control .b { width: 4em; height: 1em; vertical-align: bottom; }
     20   ]]></style>
     21   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#margin-properties" title="8.3 Margin properties: 'margin-top',  'margin-right',  'margin-bottom', 'margin-left', and 'margin'"/>
     22   <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#the-width-property" title="10.2 Content width: the 'width' property"/>
     23  </head>
     24  <body>
     25   <p>Test passes if the two bars are identical.</p>
     26   <!-- This test is too complicated. -->
     27   <div class="test"> <p> TEST </p> </div>
     28   <div class="control">
     29      <img src="support/swatch-orange.png" alt="Image download support must be enabled" class="a"
     30    /><img src="support/swatch-yellow.png" alt="Image download support must be enabled" class="b"/>
     31   </div>
     32  </body>
     33 </html>