tor-browser

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

anonymous-box-generation-002.xht (1127B)


      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: Anonymous run-in box generation</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level" />
      7         <meta name="assert" content="Block boxes with inline content followed by a run-in box generate an anonymous run-in box around the inline content." />
      8         <style type="text/css">
      9             div
     10             {
     11                 width: 2in;
     12             }
     13             #div1
     14             {
     15                 text-align: center;
     16             }
     17             div div
     18             {
     19                 background: blue;
     20                 display: run-in;
     21                 height: 1em;
     22             }
     23         </style>
     24     </head>
     25     <body>
     26         <p>Test passes if the "Filler Text" text is centered above the blue box.</p>
     27         <div id="div1">
     28             Filler Text
     29             <div></div>
     30         </div>
     31     </body>
     32 </html>