tor-browser

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

white-space-processing-001.xht (1412B)


      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 Test: Block level elements with text and white space</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#white-space-model" />
      7         <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-1" />
      8         <link rel="match" href="white-space-001-ref.xht" />
      9         <meta name="flags" content="ahem" />
     10         <meta name="assert" content="Text within a block element is treated like an anonymous inline element for white space processing model." />
     11         <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
     12         <style type="text/css">
     13             div
     14             {
     15                 font: 16px/1em Ahem;
     16             }
     17             #div1, #div2
     18             {
     19                 background: black;
     20                 display: inline-block;
     21                 height: 1em;
     22                 width: 2em;
     23             }
     24             #div2
     25             {
     26                 margin-left: 1em;
     27             }
     28        </style>
     29     </head>
     30     <body>
     31         <p>Test passes if there are 2 filled black squares.</p>
     32         <div>XX   XX</div>
     33         <div id="div1"></div><div id="div2"></div>
     34      </body>
     35 </html>