tor-browser

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

inline-table-001.xht (1232B)


      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: Inline-table</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-display" />
      7         <meta name="assert" content="An element with 'display: inline-table' is rendered as if it were an inline." />
      8         <style type="text/css">
      9             #table
     10             {
     11                 background: orange;
     12                 display: inline-table;
     13             }
     14             #row
     15             {
     16                 display: table-row;
     17             }
     18             #cell
     19             {
     20                 display: table-cell;
     21                 height: 1in;
     22                 width: 1in;
     23             }
     24         </style>
     25     </head>
     26     <body>
     27         <p>Test passes if the "Filler Text" below is all on the same line.</p>
     28         <div>
     29             <span>Filler Text</span>
     30             <div id="table">
     31                 <div id="row">
     32                     <div id="cell">Filler Text</div>
     33                 </div>
     34             </div>
     35         </div>
     36     </body>
     37 </html>