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