tor-browser

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

inline-formatting-context-001.xht (1169B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4  <head>
      5   <title>CSS Test: Establishing an Inline Formatting Context</title>
      6 
      7   <link rel="help" href="http://www.w3.org/TR/CSS22/visuren.html#inline-formatting" />
      8   <link rel="help" href="http://www.w3.org/TR/CSS22/changes.html#s.9.4.2" />
      9   <link rel="match" href="inline-formatting-context-001-ref.xht" />
     10   <link rel="author" title="Bert Bos" href="mailto:bert@w3.org" />
     11   <meta name="assert" content="An inline formatting context is established by a block container box that contains no block-level boxes. In an inline formatting context, boxes are laid out horizontally, one after the other, beginning at the top of a containing block." />
     12 
     13   <style type="text/css"><![CDATA[
     14   #block {display: block; min-width: 25em}
     15   .inline {display: inline}
     16   ]]></style>
     17  </head>
     18 
     19  <body>
     20   <div id="block">
     21     <div class="inline">Test</div>
     22     passes
     23     <div class="inline">if</div>
     24     all
     25     words
     26     <div class="inline">are</div>
     27     on
     28     <div class="inline">one</div>
     29     line.
     30   </div>
     31 
     32  </body>
     33 </html>