tor-browser

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

replaced-intrinsic-004.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: Auto Intrinsic Sizes: Intrinsic Height Only and Specified Width</title>
      5   <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
      6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-11-02 -->
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height" />
      8   <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
      9 
     10   <meta name="flags" content="svg" />
     11   <meta name="assert" content="An inline replaced element with an intrinsic height only
     12     and a specified width is drawn at the specified width and intrinsic height." />
     13   <style type="text/css">
     14     object {
     15       border: solid 20px red;
     16       background: green;
     17       width: 60px;
     18     }
     19     .control {
     20       position: absolute;
     21       border: solid 20px green;
     22       height: 60px;
     23       width: 60px;
     24     }
     25   </style>
     26  </head>
     27  <body>
     28   <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     29 
     30     <div class="control"></div>
     31     <div class="container">
     32       <object data="support/replaced-intrinsic-004.svg" type="image/svg+xml">FAIL: SVG support required</object>
     33     </div>
     34 
     35  </body>
     36 </html>