tor-browser

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

display-005.xht (1249B)


      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: Display set to 'inline-block'</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#propdef-display" />
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#display-prop" />
      8         <link rel="match" href="display-001-ref.xht" />
      9 
     10         <meta name="assert" content="The property 'display' set to 'inline-block' is formatted in layout as an inline-level element: it creates a new block formatting context for its descendants but it is laid out, flowed as an inline-level element. An inline-block does not begin on a new line and does not require to begin on a new line." />
     11         <style type="text/css">
     12             div div
     13             {
     14                 display: inline-block;
     15             }
     16         </style>
     17     </head>
     18     <body>
     19         <p>Test passes if the 2 "Filler text" are both <strong>on the same line</strong>.</p>
     20         <div>
     21             Filler text
     22             <div>Filler text</div>
     23         </div>
     24     </body>
     25 </html>